Loading cccli/commands/shell.py +9 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,15 @@ class Command_version(Command): self.printer.out(cccli.version) class Command_debug(Command): '''Switch to debug mode''' def __call__(self, argv): if len(argv) != 1: raise cmdBadArgument() import cccli cccli.debug = not cccli.debug class Command_whoami(Command): '''Show connection login''' Loading Loading
cccli/commands/shell.py +9 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,15 @@ class Command_version(Command): self.printer.out(cccli.version) class Command_debug(Command): '''Switch to debug mode''' def __call__(self, argv): if len(argv) != 1: raise cmdBadArgument() import cccli cccli.debug = not cccli.debug class Command_whoami(Command): '''Show connection login''' Loading