httk.core.plugins.cli¶
The core-owned httk plugin command.
Attributes¶
Functions¶
|
Build the core-owned plugin command tree. |
|
Handle the registered top-level plugin command. |
Module Contents¶
- httk.core.plugins.cli.build_parser(program)[source]¶
Build the core-owned plugin command tree.
- Parameters:
program (str) – Program name used by the parser in help and errors.
- Returns:
Configured plugin command parser.
- Return type:
- httk.core.plugins.cli.command(argv, context)[source]¶
Handle the registered top-level plugin command.
- Parameters:
argv (collections.abc.Sequence[str]) – Arguments following the plugin command name.
context (httk.core.cli.CLIContext) – Root CLI invocation context.
- Returns:
Command exit status.
- Return type: