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

Method Select

pkg/cmd/workflow/view/view.go:42–42  ·  view source on GitHub ↗
(string, string, []string)

Source from the content-addressed store, hash-verified

40
41type iprompter interface {
42 Select(string, string, []string) (int, error)
43}
44
45func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Command {

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