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

Function askArgument

internal/cli/arguments.go:90–96  ·  view source on GitHub ↗
(cmd *cobra.Command, i commandInput, value interface{})

Source from the content-addressed store, hash-verified

88}
89
90func askArgument(cmd *cobra.Command, i commandInput, value interface{}) error {
91 if canPrompt(cmd) {
92 return ask(i, value, nil, false)
93 }
94
95 return fmt.Errorf("missing a required argument: %s", i.GetName())
96}

Callers 1

AskMethod · 0.85

Calls 4

canPromptFunction · 0.85
askFunction · 0.85
ErrorfMethod · 0.80
GetNameMethod · 0.65

Tested by

no test coverage detected