Crate cliask

Source
Expand description

cliask is a crate to handle prompting the user for input in CLI applications that don’t want a full TUI library such as cursive and want something simpler than inquire.

Structs§

ActionPrompt
Prompt the user for an action from a static list.
SelectPrompt
Prompt the user for a selection from a dynamic list.

Enums§

AskError
Represents errors encountered during prompting.
YesNoAction
A simple ActionEnum for asking yes/no questions.

Traits§

ActionEnum
Trait providing static information about action choices.

Derive Macros§

ActionEnum
Derives ActionEnum for a given enum, automatically assigning keys based on uppercase characters in the enum variant names.