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

Method Input

pkg/cmd/repo/edit/edit.go:29–29  ·  view source on GitHub ↗
(string, string)

Source from the content-addressed store, hash-verified

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)
32}

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