MCPcopy Create free account
hub / github.com/auth0/auth0-cli / askPassword

Function askPassword

internal/cli/input.go:52–61  ·  view source on GitHub ↗
(i commandInput, value interface{}, isUpdate bool)

Source from the content-addressed store, hash-verified

50}
51
52func askPassword(i commandInput, value interface{}, isUpdate bool) error {
53 isRequired := isInputRequired(i, isUpdate)
54 input := prompt.PasswordInput("", i.GetLabel(), isRequired)
55
56 if err := prompt.AskOne(input, value); err != nil {
57 return handleInputError(err)
58 }
59
60 return nil
61}
62
63func askMultiSelect(i commandInput, value interface{}, options ...string) error {
64 v := reflect.ValueOf(options)

Callers 1

askPasswordFlagFunction · 0.85

Calls 5

PasswordInputFunction · 0.92
AskOneFunction · 0.92
isInputRequiredFunction · 0.85
handleInputErrorFunction · 0.85
GetLabelMethod · 0.65

Tested by

no test coverage detected