generic prompts from go-gh Select prompts the user to select an option from a list of options.
(prompt string, defaultValue string, options []string)
| 19 | |
| 20 | // Select prompts the user to select an option from a list of options. |
| 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, |
no outgoing calls