inquire-reorder 0.7.6

inquire is a library for building interactive prompts on terminals
Documentation
1
2
3
4
5
6
7
8
9
10
use inquire::Text;

fn main() {
    let name = Text::new("What is your name?").prompt();

    match name {
        Ok(name) => println!("Hello {name}"),
        Err(_) => println!("An error happened when asking for your name, try again later."),
    }
}