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

Method getValue

internal/cli/picker_options.go:22–29  ·  view source on GitHub ↗
(label string)

Source from the content-addressed store, hash-verified

20}
21
22func (p pickerOptions) getValue(label string) string {
23 for _, o := range p {
24 if o.label == label {
25 return o.value
26 }
27 }
28 return ""
29}
30
31func (p pickerOptions) getValues(labels ...string) []string {
32 var values []string

Callers 7

TestPickerOptionsFunction · 0.95
pickFlagFunction · 0.95
PickMethod · 0.95
importUsersCmdFunction · 0.80
createRuleCmdFunction · 0.80
ybFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestPickerOptionsFunction · 0.76