net: make new module from {forwarding,ssh,telnet}.py

This commit is contained in:
InsanePrawn 2022-10-16 04:43:45 +02:00
parent 6fed749488
commit afca099ede
9 changed files with 16 additions and 12 deletions

9
net/cli.py Normal file
View file

@ -0,0 +1,9 @@
import click
from .forwarding import cmd_forwarding
from .ssh import cmd_ssh
from .telnet import cmd_telnet
cmd_net = click.Group('net', help='Network utilities like ssh and telnet')
for cmd in cmd_forwarding, cmd_ssh, cmd_telnet:
cmd_net.add_command(cmd)