Add telnet command
This commit is contained in:
parent
f3e555f13b
commit
4df7e93655
3 changed files with 18 additions and 2 deletions
14
telnet.py
Normal file
14
telnet.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
import subprocess
|
||||
import click
|
||||
from logger import setup_logging, verbose_option
|
||||
|
||||
|
||||
@click.command(name='telnet')
|
||||
@verbose_option
|
||||
def cmd_telnet(verbose):
|
||||
setup_logging(verbose)
|
||||
|
||||
subprocess.run([
|
||||
'telnet',
|
||||
'172.16.42.1',
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue