Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ formatValuesForUsageDocs
Function
formatValuesForUsageDocs
pkg/cmdutil/flags.go:68–70 ·
view source on GitHub ↗
(values []string)
Source
from the content-addressed store, hash-verified
66
}
67
68
func
formatValuesForUsageDocs(values []string) string {
69
return
fmt.Sprintf(
"{%s}"
, strings.Join(values,
"|"
))
70
}
71
72
type
stringValue
struct
{
73
string **string
Callers
4
StringEnumFlag
Function · 0.85
StringSliceEnumFlag
Function · 0.85
Set
Method · 0.85
Set
Method · 0.85
Calls
1
Join
Method · 0.80
Tested by
no test coverage detected