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

Method getValues

internal/cli/picker_options.go:31–39  ·  view source on GitHub ↗
(labels ...string)

Source from the content-addressed store, hash-verified

29}
30
31func (p pickerOptions) getValues(labels ...string) []string {
32 var values []string
33 for _, o := range p {
34 if i := slices.Index(labels, o.label); i > -1 {
35 values = append(values, o.value)
36 }
37 }
38 return values
39}
40
41type pickerOption struct {
42 label string

Callers 3

TestPickerOptionsFunction · 0.95
pickManyFlagFunction · 0.95
PickManyMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestPickerOptionsFunction · 0.76