COT.commands.help module

Provide 'help' keyword for COT CLI.

class COTHelp(ui)[source]

Bases: COT.commands.command.Command

Provide 'help <subcommand>' syntax.

Inherited attributes: ui

Attributes: subcommand

__init__(ui)[source]

Instantiate this command with the given UI.

Parameters:ui (UI) -- User interface instance.
create_subparser()[source]

Create 'help' CLI subparser.

run()[source]

Display the help menu for the specified subcommand.

subcommand

CLI subcommand to give help for.

If None, then help will be displayed for the COT global parser.