ExactValidArgs returns an error if there are not exactly N positional args OR there are any positional args that are not in the `ValidArgs` field of `Command` Deprecated: use MatchAll(ExactArgs(n), OnlyValidArgs) instead
(n int)
| 127 | // |
| 128 | // Deprecated: use MatchAll(ExactArgs(n), OnlyValidArgs) instead |
| 129 | func ExactValidArgs(n int) PositionalArgs { |
| 130 | return MatchAll(ExactArgs(n), OnlyValidArgs) |
| 131 | } |