COT.commands.info module¶
Implements "info" subcommand.
-
class
COTInfo(ui)[source]¶ Bases:
COT.commands.command.CommandDisplay VM information string.
Inherited attributes:
uiAttributes:
package_list,verbosity-
__init__(ui)[source]¶ Instantiate this command with the given UI.
Parameters: ui (UI) -- User interface instance.
-
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 command.
Raises: InvalidInputError-- ifready_to_run()reportsFalse
-
package_list¶ List of VM definitions to get information for.
-
verbosity¶ Verbosity of information displayed.
-