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

Function askPasswordFlag

internal/cli/flags.go:271–279  ·  view source on GitHub ↗
(cmd *cobra.Command, f *Flag, value *string, isUpdate bool)

Source from the content-addressed store, hash-verified

269}
270
271func askPasswordFlag(cmd *cobra.Command, f *Flag, value *string, isUpdate bool) error {
272 if shouldAsk(cmd, f, isUpdate) {
273 if err := askPassword(f, value, isUpdate); err != nil {
274 return err
275 }
276 }
277
278 return nil
279}
280
281func openEditorFlag(cmd *cobra.Command, f *Flag, value *string, defaultValue string, filename string, infoFn func(), tempFileFn func(string), isUpdate bool) error {
282 if shouldAsk(cmd, f, false) { // Always open the editor on update.

Callers 2

AskPasswordMethod · 0.85
AskPasswordUMethod · 0.85

Calls 2

shouldAskFunction · 0.85
askPasswordFunction · 0.85

Tested by

no test coverage detected