Move enforce_wrapper() into appropiate CMDs. This speeds up --help as a side effect!
This commit is contained in:
parent
18c689f897
commit
f3794f939e
11 changed files with 34 additions and 25 deletions
|
@ -1,9 +1,11 @@
|
|||
import subprocess
|
||||
import click
|
||||
from wrapper import enforce_wrap
|
||||
|
||||
|
||||
@click.command(name='telnet')
|
||||
def cmd_telnet(hostname: str = '172.16.42.1'):
|
||||
enforce_wrap()
|
||||
subprocess.run([
|
||||
'telnet',
|
||||
hostname,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue