Command#
- class cli_interview_kit.Command[source]#
Bases:
FrozenModelOne command.
- Attributes:
- namestr
The command’s name on the command line.
- helpstr
One-line help.
- optionstuple[Option, …]
Plain options and positionals.
- interviewInterview
Questions and consents. A command with any gets
--yesand--questions.- runCallable[[Invocation], None] | None
What the command does;
Nonefor a group of subcommands.- subcommandstuple[Command, …]
Nested commands.
interactiveboolWhether the command has questions or consents.