Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
func
(p pickerOptions) defaultLabel() string {
16
if
len(p) > 0 {
17
return
p[0].label
18
}
19
return
""
20
}
21
22
func
(p pickerOptions) getValue(label string) string {
23
for
_, o :=
range
p {
Callers
3
TestPickerOptions
Function · 0.95
pickFlag
Function · 0.95
Pick
Method · 0.95
Calls
no outgoing calls
Tested by
1
TestPickerOptions
Function · 0.76