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

Method Confirm

internal/prompter/prompter.go:523–525  ·  view source on GitHub ↗
(prompt string, defaultValue bool)

Source from the content-addressed store, hash-verified

521}
522
523func (p *surveyPrompter) Confirm(prompt string, defaultValue bool) (bool, error) {
524 return p.prompter.Confirm(prompt, defaultValue)
525}
526
527func (p *surveyPrompter) AuthToken() (string, error) {
528 var result string

Callers

nothing calls this directly

Calls 1

ConfirmMethod · 0.65

Tested by

no test coverage detected