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

Method Select

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

Source from the content-addressed store, hash-verified

45type iprompter interface {
46 Input(string, string) (string, error)
47 Select(string, string, []string) (int, error)
48}
49
50func NewCmdRun(f *cmdutil.Factory, runF func(*RunOptions) error) *cobra.Command {

Callers 2

selectWorkflowFunction · 0.65
collectInputsFunction · 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