swh.core.cli package#
Submodules#
Module contents#
- class swh.core.cli.SWHHelpFormatter(indent_increment: int = 2, width: int | None = None, max_width: int | None = None)[source]#
Bases:
HelpFormatter
A subclass of click’s HelpFormatter which converts some :ref: to links to the SWH documentation
- class swh.core.cli.AliasedGroup(name=None, commands=None, **attrs)[source]#
Bases:
Group
A simple Group that supports:
command aliases
notes related to options
- swh.core.cli.clean_exit_on_signal(signal, frame)[source]#
Raise a SystemExit exception to let command-line clients wind themselves down on exit