MCPcopy
hub / github.com/mislav/hub / AllValues

Method AllValues

utils/args_parser.go:160–166  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

158}
159
160func (p *ArgsParser) AllValues(name string) []string {
161 if f, found := p.flagMap[name]; found {
162 return f.values
163 } else {
164 return []string{}
165 }
166}
167
168func (p *ArgsParser) Bool(name string) bool {
169 if f, found := p.flagMap[name]; found {

Callers 12

TestArgsParser_ValuesFunction · 0.95
TestArgsParser_ShorthandFunction · 0.95
createReleaseFunction · 0.80
editReleaseFunction · 0.80
apiCommandFunction · 0.80
pullRequestFunction · 0.80
listIssuesFunction · 0.80
createIssueFunction · 0.80
updateIssueFunction · 0.80
setLabelsFromArgsFunction · 0.80
setAssigneesFromArgsFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestArgsParser_ValuesFunction · 0.76
TestArgsParser_ShorthandFunction · 0.76