Crate demand

Source
Expand description

A prompt library for Rust. Based on huh? for Go.

Structs§

Confirm
A confirmation dialog
DemandOption
An individual option in a select or multi-select.
Dialog
A multi-button dialog
DialogButton
A button to select in a dialog
Input
Single line text input
List
Display a list of options
MultiSelect
Select multiple options from a list
Select
Select a single option from a list
Spinner
Show a spinner
SpinnerStyle
The style of the spinner
Theme
Theme for styling the UI.

Traits§

InputValidator
Input validator trait