Loading cccli/command.py +6 −2 Original line number Diff line number Diff line Loading @@ -156,8 +156,12 @@ class Command(object): def cmd_remote(self, argv): '''Show remote command list''' try: for cmds in self.cli.rpc.call("list_commands"): self.printer.out("%s"%cmds["name"]) except RpcError as e: raise cmdError("RPCError: %s"%str(e)) cmd_remote.usage = "remote" def cmd_history(self, argv): Loading Loading
cccli/command.py +6 −2 Original line number Diff line number Diff line Loading @@ -156,8 +156,12 @@ class Command(object): def cmd_remote(self, argv): '''Show remote command list''' try: for cmds in self.cli.rpc.call("list_commands"): self.printer.out("%s"%cmds["name"]) except RpcError as e: raise cmdError("RPCError: %s"%str(e)) cmd_remote.usage = "remote" def cmd_history(self, argv): Loading