UI

Provide CLI.

help2man.ui.get_cmd_output(tokens: list[str], no_discard_stderr: bool = False) str[source]

Get cmd output.

Parameters:
  • tokens (list[str]) –

  • no_discard_stderr (bool) –

Return type:

str

help2man.ui.init(args: Namespace) Namespace[source]

Init.

Parameters:

args (Namespace) –

Return type:

Namespace

Command Line Interface

help2man.ui.cli.run(args: Namespace) None[source]

Run.

Parameters:

args (Namespace) –

Return type:

None