MCPcopy Create free account
hub / github.com/cli/cli / String

Method String

pkg/cmdutil/flags.go:164–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162}
163
164func (e *enumMultiValue) String() string {
165 if len(*e.value) == 0 {
166 return ""
167 }
168 return fmt.Sprintf("{%s}", strings.Join(*e.value, ", "))
169}
170
171func (e *enumMultiValue) Type() string {
172 return "stringSlice"

Callers

nothing calls this directly

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected