Expand description

dialoguer is a library for Rust that helps you build useful small interactive user inputs for the command line. It provides utilities to render various simple dialogs like confirmation prompts, text inputs and more.

Best paired with other libraries in the family:

Crate Contents

  • Confirmation prompts
  • Input prompts (regular and password)
  • Input validation
  • Selections prompts (single and multi)
  • Fuzzy select prompt
  • Other kind of prompts
  • Editor launching

Re-exports

pub use console;

Modules

Customizes the rendering of the elements.

Structs

Renders a confirm prompt.

Launches the default editor to edit a string.

Renders a selection menu that user can fuzzy match to reduce set.

Renders an input prompt.

Renders a multi select prompt.

Renders a password input prompt.

Renders a select prompt.

Renders a sort prompt.

Traits

Trait for completion handling.

Trait for history handling.

Trait for input validators.