MCPcopy
hub / github.com/spf13/cobra / PositionalArgs

FuncType PositionalArgs

args.go:22–22  ·  view source on GitHub ↗
func(cmd *Command, args []string) error

Source from the content-addressed store, hash-verified

20)
21
22type PositionalArgs func(cmd *Command, args []string) error
23
24// legacyArgs validation has the following behaviour:
25// - root commands with no subcommands can take arbitrary arguments

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…