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

Method Input

pkg/cmd/pr/shared/editable.go:365–365  ·  view source on GitHub ↗
(string, string)

Source from the content-addressed store, hash-verified

363type EditPrompter interface {
364 Select(string, string, []string) (int, error)
365 Input(string, string) (string, error)
366 MarkdownEditor(string, string, bool) (string, error)
367 MultiSelect(string, []string, []string) ([]int, error)
368 MultiSelectWithSearch(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) prompter.MultiSelectSearchResult) ([]string, error)

Callers 1

EditFieldsSurveyFunction · 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