taucmdr.cli.commands.help module
help subcommand.
-
class taucmdr.cli.commands.help.HelpCommand(module_name, format_fields=None, summary_fmt=None, help_page_fmt=None, group=None)[source]
Bases: AbstractCommand
help subcommand.
-
_abc_impl = <_abc._abc_data object>
-
_construct_parser()[source]
Construct a command line argument parser.
-
static exit_with_fullhelp()[source]
Show a recursive help page for all commands and exit.
-
static exit_with_help(name)[source]
Show a subcommands help page and exit.
-
main(argv)[source]
Command program entry point.
- Parameters:
argv (list) – Command line arguments.
- Returns:
Process return code: non-zero if a problem occurred, 0 otherwise
- Return type:
int
-
taucmdr.cli.commands.help._fuzzy_index(dct, full_key)[source]
Return d[key] where ((key in k) == true) or return d[None].
-
taucmdr.cli.commands.help._guess_filetype(filename)[source]
Return a (filetype, encoding) tuple for a file.