1use dialoguer::Confirm; 2 3pub struct ConfirmInput {} 4 5impl ConfirmInput { 6 7 /// Gets the value of the confirm input 8 pub fn get_value(text: String) -> bool { 9 Confirm::new().with_prompt(text).interact().unwrap() 10 } 11}