MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / print_help

Method print_help

keepercommander/commands/base.py:879–888  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

877 return command.execute_args(params, args, **kwargs)
878
879 def print_help(self, **kwargs):
880 print(f'{kwargs.get("command")} command [--options]')
881 table = []
882 headers = ['Command', 'Description']
883 for verb in self._commands.keys():
884 row = [verb, self._command_info.get(verb) or '']
885 table.append(row)
886 print('')
887 dump_report_data(table, headers=headers)
888 print('')
889
890 def validate(self, params): # type: (KeeperParams) -> None
891 pass

Callers 15

execute_argsMethod · 0.95
usageFunction · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
execute_usageMethod · 0.45
execute_argsMethod · 0.45
execute_argsMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45

Calls 2

dump_report_dataFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected