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

Method defaultLabel

internal/cli/picker_options.go:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func (p pickerOptions) defaultLabel() string {
16 if len(p) > 0 {
17 return p[0].label
18 }
19 return ""
20}
21
22func (p pickerOptions) getValue(label string) string {
23 for _, o := range p {

Callers 3

TestPickerOptionsFunction · 0.95
pickFlagFunction · 0.95
PickMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestPickerOptionsFunction · 0.76