def run(self): self.admin.usage_line = '[cmd] <options>' self.admin.remove_command(ShellAction.name) shell = KatelloShell(self.admin) shell.cmdloop() return os.EX_OK
def run(self): self.admin.remove_command("shell") shell = KatelloShell(self.admin) shell.cmdloop() return os.EX_OK