MCPcopy
hub / github.com/cli/cli / Confirm

Method Confirm

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

Source from the content-addressed store, hash-verified

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}
33

Callers 14

deleteAssetRunFunction · 0.65
deleteRunFunction · 0.65
createRunFunction · 0.65
officialExtensionStubRunFunction · 0.65
forkRunFunction · 0.65
createFromScratchFunction · 0.65
createFromTemplateFunction · 0.65
createFromLocalFunction · 0.65
interactiveGitIgnoreFunction · 0.65
interactiveLicenseFunction · 0.65
archiveRunFunction · 0.65
unarchiveRunFunction · 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