Skip to main content

ask_choice

Function ask_choice 

Source
pub fn ask_choice(question: &str, options: &[String]) -> Option<usize>
Expand description

Ask for one of options. None at end of input, or with nothing to choose from.