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

Method FloatArg

args.go:290–292  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

288}
289
290func (c *Command) FloatArg(name string) float64 {
291 return arg[float64](name, c)
292}
293
294func (c *Command) FloatArgs(name string) []float64 {
295 return arg[[]float64](name, c)

Callers 2

TestArgsFloatTypesFunction · 0.80
TestArgsIntTypesFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestArgsFloatTypesFunction · 0.64
TestArgsIntTypesFunction · 0.64