MCPcopy Index your code
hub / github.com/cli/cli / MultiSelect

Method MultiSelect

internal/prompter/prompter.go:357–359  ·  view source on GitHub ↗
(prompt string, defaultValues, options []string)

Source from the content-addressed store, hash-verified

355}
356
357func (p *surveyPrompter) MultiSelect(prompt string, defaultValues, options []string) ([]int, error) {
358 return p.prompter.MultiSelect(prompt, defaultValues, options)
359}
360
361func (p *surveyPrompter) MultiSelectWithSearch(prompt string, searchPrompt string, defaultValues, persistentValues []string, searchFunc func(string) MultiSelectSearchResult) ([]string, error) {
362 return multiSelectWithSearch(p, prompt, searchPrompt, defaultValues, persistentValues, searchFunc)

Callers

nothing calls this directly

Calls 1

MultiSelectMethod · 0.65

Tested by

no test coverage detected