pub fn prompt_multi_select(
message: &str,
options: &[String],
defaults: &[bool],
) -> Result<Vec<usize>>Expand description
Prompt the user to select multiple options from a list.
Returns the indices of the selected options. The defaults slice
indicates which items are pre-selected (by index).
ยงErrors
Returns CliCoreError if the prompt is cancelled or a terminal error occurs.