httk.core.plugins.cli

The core-owned httk plugin command.

Attributes

Functions

build_parser(program)

Build the core-owned plugin command tree.

command(argv, context)

Handle the registered top-level plugin command.

Module Contents

httk.core.plugins.cli.Handler[source]
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:

argparse.ArgumentParser

httk.core.plugins.cli.command(argv, context)[source]

Handle the registered top-level plugin command.

Parameters:
Returns:

Command exit status.

Return type:

int