net: make new module from {forwarding,ssh,telnet}.py
This commit is contained in:
parent
6fed749488
commit
afca099ede
9 changed files with 16 additions and 12 deletions
9
net/cli.py
Normal file
9
net/cli.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue