COT.info module

Implements “info” subcommand.

class COTInfo(UI)[source]

Bases: COT.submodule.COTGenericSubmodule

Display VM information string.

Inherited attributes: UI

Attributes: package_list, verbosity

create_subparser(parent)[source]

Add subparser for the CLI of this submodule.

Parameters:parent (object) – Subparser grouping object returned by ArgumentParser.add_subparsers()
Returns:('info', subparser)
ready_to_run()[source]

Check whether the module is ready to run().

Returns:(True, ready_message) or (False, reason_why_not)
run()[source]

Do the actual work of this submodule.

Raises InvalidInputError:
 if ready_to_run() reports False
package_list[source]

List of VM definitions to get information for.

verbosity[source]

Verbosity of information displayed.