MultiSelect prompts the user to select one or more options from a list of options.
(prompt string, defaults []string, options []string)
| 21 | Select(prompt string, defaultValue string, options []string) (int, error) |
| 22 | // MultiSelect prompts the user to select one or more options from a list of options. |
| 23 | MultiSelect(prompt string, defaults []string, options []string) ([]int, error) |
| 24 | // MultiSelectWithSearch is MultiSelect with an added search option to the list, |
| 25 | // prompting the user for text input to filter the options via the searchFunc. |
| 26 | // Items selected in the search are persisted in the list after subsequent searches. |
no outgoing calls