19 releases (10 breaking)
0.11.0 | Sep 21, 2023 |
---|---|
0.10.4 | Apr 7, 2023 |
0.10.3 | Jan 14, 2023 |
0.10.2 | Jul 28, 2022 |
0.1.0 | May 11, 2017 |
#12 in Command-line interface
791,683 downloads per month
Used in 1,436 crates
(802 directly)
135KB
3K
SLoC
dialoguer
A rust library for command line prompts and similar things.
Best paired with other libraries in the family:
License and Links
- Documentation
- Issue Tracker
- Examples
- License: MIT
lib.rs
:
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
Crate Features
The following crate features are available:
editor
: enables bindings to launch editor to edit stringsfuzzy-select
: enables fuzzy select prompthistory
: enables input prompts to be able to track history of inputspassword
: enables password input promptcompletion
: enables ability to implement custom tab-completion for input prompts
By default editor
and password
are enabled.
Dependencies
~1–10MB
~116K SLoC