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

__init__(ui)[source]

Instantiate this submodule with the given UI.

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

Create ‘info’ CLI subparser.

ready_to_run()[source]

Check whether the module is ready to run().

Returns:tuple(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

List of VM definitions to get information for.

verbosity

Verbosity of information displayed.