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

Method Select

pkg/cmd/repo/create/create.go:35–35  ·  view source on GitHub ↗
(string, string, []string)

Source from the content-addressed store, hash-verified

33type iprompter interface {
34 Input(string, string) (string, error)
35 Select(string, string, []string) (int, error)
36 Confirm(string, bool) (bool, error)
37}
38

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