extern crate ahum_dialoguer; use ahum_dialoguer::{Confirmation, Input}; fn main() { if Confirmation::new() .with_text("Do you want to continue?") .interact() .unwrap() { println!("Looks like you want to continue"); } else { println!("nevermind then :("); return; } let input: String = Input::new().with_prompt("Your name").interact().unwrap(); println!("Hello {}!", input); }