dialoguer 0.6.0

A command line prompting library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate dialoguer;

use dialoguer::{theme::CustomPromptCharacterTheme, Input};

fn main() {
    let theme = CustomPromptCharacterTheme::new('>');
    let input: String = Input::with_theme(&theme)
        .with_prompt("Your name")
        .interact()
        .unwrap();
    println!("Hello {}!", input);
}