httk.core.docs.cli¶
The httk docs command-line adapter over the documentation library.
Functions¶
|
Build the |
|
Handle the registered top-level |
Module Contents¶
- httk.core.docs.cli.build_parser(program, project_dir)[source]¶
Build the
httk docsparser with a project-directory default.- Parameters:
program (str) – Program name displayed by the parser.
project_dir (pathlib.Path) – Default project directory for project-aware commands.
- Returns:
Configured command-line parser.
- Return type:
- httk.core.docs.cli.command(argv, context)[source]¶
Handle the registered top-level
docscommand.- Parameters:
argv (collections.abc.Sequence[str]) – Command-line arguments after the
docssubcommand.context (httk.core.cli.CLIContext) – CLI execution context supplied by the top-level command runner.
- Returns:
Process-style exit status.
- Return type: