select

Function select 

Source
pub fn select<T>(message: &str, options: &[T]) -> Result<usize>
where T: Display,
Expand description

Prompt the user to select from a list of options