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

Method ConfirmDeletion

internal/prompter/prompter.go:46–46  ·  view source on GitHub ↗

ConfirmDeletion prompts the user to confirm deletion of a resource by typing the requiredValue.

(requiredValue string)

Source from the content-addressed store, hash-verified

44 // ConfirmDeletion prompts the user to confirm deletion of a resource by
45 // typing the requiredValue.
46 ConfirmDeletion(requiredValue string) error
47 // InputHostname prompts the user to enter a hostname.
48 InputHostname() (string, error)
49 // MarkdownEditor prompts the user to edit a markdown document in an editor.

Callers 1

TestAccessiblePrompterFunction · 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 1

TestAccessiblePrompterFunction · 0.52