MCPcopy Create free account
hub / github.com/cli/cli / MultiSelectWithSearch

Method MultiSelectWithSearch

internal/prompter/prompter.go:341–343  ·  view source on GitHub ↗
(prompt, searchPrompt string, defaultValues, persistentValues []string, searchFunc func(string) MultiSelectSearchResult)

Source from the content-addressed store, hash-verified

339}
340
341func (p *accessiblePrompter) MultiSelectWithSearch(prompt, searchPrompt string, defaultValues, persistentValues []string, searchFunc func(string) MultiSelectSearchResult) ([]string, error) {
342 return multiSelectWithSearch(p, prompt, searchPrompt, defaultValues, persistentValues, searchFunc)
343}
344
345type surveyPrompter struct {
346 prompter *ghPrompter.Prompter

Callers

nothing calls this directly

Calls 1

multiSelectWithSearchFunction · 0.85

Tested by

no test coverage detected