select

Function select 

Source
pub fn select(prompt: &str, options: &[&str]) -> Option<usize>
Expand description

Ask user to select from options