MCPcopy
hub / github.com/urfave/cli / IntArg

Method IntArg

args.go:314–316  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

312}
313
314func (c *Command) IntArg(name string) int {
315 return arg[int](name, c)
316}
317
318func (c *Command) IntArgs(name string) []int {
319 return arg[[]int](name, c)

Callers 1

TestArgsIntTypesFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestArgsIntTypesFunction · 0.64