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

Method MultiSelectWithSearch

pkg/cmd/pr/shared/survey.go:44–44  ·  view source on GitHub ↗
(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) prompter.MultiSelectSearchResult)

Source from the content-addressed store, hash-verified

42 Confirm(prompt string, defaultValue bool) (bool, error)
43 MultiSelect(prompt string, defaults []string, options []string) ([]int, error)
44 MultiSelectWithSearch(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) prompter.MultiSelectSearchResult) ([]string, error)
45}
46
47func ConfirmIssueSubmission(p Prompt, allowPreview bool, allowMetadata bool) (Action, error) {

Callers 3

selectSkillsWithSelectorFunction · 0.65
runMultiSelectWithSearchFunction · 0.65
MetadataSurveyFunction · 0.65

Implementers 4

PrompterMockinternal/prompter/prompter_mock.go
huhPrompterinternal/prompter/huh_prompter.go
accessiblePrompterinternal/prompter/prompter.go
surveyPrompterinternal/prompter/prompter.go

Calls

no outgoing calls

Tested by

no test coverage detected