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

Method Confirm

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

Source from the content-addressed store, hash-verified

367 MultiSelect(string, []string, []string) ([]int, error)
368 MultiSelectWithSearch(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) prompter.MultiSelectSearchResult) ([]string, error)
369 Confirm(string, bool) (bool, error)
370}
371
372func EditFieldsSurvey(p EditPrompter, editable *Editable, editorCommand 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