Crate demand

Source
Expand description

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

Structsยง

Confirm
Select multiple options from a list
DemandOption
An individual option in a select or multi-select.
Dialog
A dialog to display to the user
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.