API reference#
Generated from the docstrings, type annotations and pydantic models in src/. Every public name
is exported by cli_interview_kit.
App and commands#
A command-line app built from command declarations. |
|
One command. |
|
A plain option or positional argument; not an interview question. |
|
What a command's run function receives. |
Interviews#
A command's questions and consents, and where their dynamic parts come from. |
|
One interview question. |
|
An answer, option or fact a question depends on. |
|
A question kind an app defines, with its own flag form and prompt. |
Return a condition: |
Consent and interaction#
A confirmation a command may need before it acts. |
|
Whether a run may prompt, and whether it has blanket consent. |
Console#
Styled output and interactive prompts for a command. |
Validators#
Reject a blank answer. |
|
Accept a whole number, or a blank answer. |
|
Accept a size such as |
|
Parse repeated |
Type aliases#
Errors#
An expected failure, reported as its message without a traceback. |
|
A declaration is used in a way it does not allow. |