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

Function askFlag

internal/cli/flags.go:175–181  ·  view source on GitHub ↗
(cmd *cobra.Command, f *Flag, value interface{}, defaultValue *string, isUpdate bool)

Source from the content-addressed store, hash-verified

173}
174
175func askFlag(cmd *cobra.Command, f *Flag, value interface{}, defaultValue *string, isUpdate bool) error {
176 if shouldAsk(cmd, f, isUpdate) {
177 return ask(f, value, defaultValue, isUpdate)
178 }
179
180 return nil
181}
182
183func askManyFlag(cmd *cobra.Command, f *Flag, value interface{}, defaultValue *string, isUpdate bool) error {
184 if shouldAsk(cmd, f, isUpdate) {

Callers 2

AskMethod · 0.85
AskUMethod · 0.85

Calls 2

shouldAskFunction · 0.85
askFunction · 0.85

Tested by

no test coverage detected