Add telnet command

This commit is contained in:
jld3103 2021-08-17 20:47:14 +02:00
parent f3e555f13b
commit 4df7e93655
3 changed files with 18 additions and 2 deletions

14
telnet.py Normal file
View 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',
])