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

Method MultiSelect

pkg/cmd/repo/edit/edit.go:28–28  ·  view source on GitHub ↗
(prompt string, defaults []string, options []string)

Source from the content-addressed store, hash-verified

26
27type iprompter interface {
28 MultiSelect(prompt string, defaults []string, options []string) ([]int, error)
29 Input(string, string) (string, error)
30 Confirm(string, bool) (bool, error)
31 Select(string, string, []string) (int, error)

Callers

nothing calls this directly

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