Invocation#

class cli_interview_kit.Invocation[source]#

Bases: FrozenModel

What a command’s run function receives.

Attributes:
consoleConsole

Output and prompts.

interactionInteraction

Whether the run may prompt and has consent; pass it to Consent.ask.

answersdict[str, Any]

The answers of the questions that applied, by key.

optionsdict[str, Any]

The options’ values, by dest.