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

Method FloatArgs

args.go:294–296  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

292}
293
294func (c *Command) FloatArgs(name string) []float64 {
295 return arg[[]float64](name, c)
296}
297
298func (c *Command) Float32Arg(name string) float32 {
299 return arg[float32](name, c)

Callers 3

TestArgsFloatSliceTypesFunction · 0.80
TestArgumentsRootCommandFunction · 0.80
TestArgumentsInvalidTypeFunction · 0.80

Calls 1

argFunction · 0.85

Tested by 3

TestArgsFloatSliceTypesFunction · 0.64
TestArgumentsRootCommandFunction · 0.64
TestArgumentsInvalidTypeFunction · 0.64