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

Method Password

internal/prompter/prompter.go:519–521  ·  view source on GitHub ↗
(prompt string)

Source from the content-addressed store, hash-verified

517}
518
519func (p *surveyPrompter) Password(prompt string) (string, error) {
520 return p.prompter.Password(prompt)
521}
522
523func (p *surveyPrompter) Confirm(prompt string, defaultValue bool) (bool, error) {
524 return p.prompter.Confirm(prompt, defaultValue)

Callers

nothing calls this directly

Calls 1

PasswordMethod · 0.65

Tested by

no test coverage detected