Skip to main content

select_index

Function select_index 

Source
pub fn select_index(
    prompter: &dyn Prompter,
    prompt: &str,
    items: &[&str],
    config: &CliConfig,
) -> Result<Option<usize>>