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

Method AskIntSlice

internal/cli/flags.go:168–173  ·  view source on GitHub ↗
(cmd *cobra.Command, value *[]int, defaultValue *[]int)

Source from the content-addressed store, hash-verified

166}
167
168func (f *Flag) AskIntSlice(cmd *cobra.Command, value *[]int, defaultValue *[]int) error {
169 if shouldAsk(cmd, f, false) {
170 return askIntSlice(f, value, defaultValue)
171 }
172 return nil
173}
174
175func askFlag(cmd *cobra.Command, f *Flag, value interface{}, defaultValue *string, isUpdate bool) error {
176 if shouldAsk(cmd, f, isUpdate) {

Callers 1

promptForMatchCriteriaFunction · 0.80

Calls 2

shouldAskFunction · 0.85
askIntSliceFunction · 0.85

Tested by

no test coverage detected