use demand::{DemandOption, MultiSelect}; fn main() { let ms = MultiSelect::new("Toppings") .description("Select your toppings") .min(1) .max(4) .filterable(true) .option(DemandOption::new("Lettuce").selected(true)) .option(DemandOption::new("Tomatoes").selected(true)) .option(DemandOption::new("Charm Sauce")) .option(DemandOption::new("Jalapenos").label("JalapeƱos")) .option(DemandOption::new("Cheese")) .option(DemandOption::new("Vegan Cheese")) .option(DemandOption::new("Nutella")); ms.run().expect("error running multi select"); }