(prompt, defaultValue string, options []string)
| 65 | } |
| 66 | |
| 67 | func (p *huhPrompter) Select(prompt, defaultValue string, options []string) (int, error) { |
| 68 | form, result := p.buildSelectForm(prompt, defaultValue, options) |
| 69 | err := p.runForm(form) |
| 70 | return *result, err |
| 71 | } |
| 72 | |
| 73 | func (p *huhPrompter) buildMultiSelectForm(prompt string, defaults []string, options []string) (*huh.Form, *[]int) { |
| 74 | var result []int |
nothing calls this directly
no test coverage detected