select_prompt/
select_prompt.rs

1fn main() {
2    cliask::SelectPrompt::new("Choose a fruit:")
3        .with_items(["Grapefruit", "Guava", "Lychee"])
4        .run().unwrap();
5
6    cliask::SelectPrompt::new("Choose a number:")
7        .with_items(0..1000)
8        .run_cancellable().unwrap();
9}