You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -389,6 +389,7 @@ The following validators are built in:
389
389
-`MinimumNArgs(int)` - the command will report an error if there are not at least N positional args.
390
390
-`MaximumNArgs(int)` - the command will report an error if there are more than N positional args.
391
391
-`ExactArgs(int)` - the command will report an error if there are not exactly N positional args.
392
+
-`ExactValidArgs(int)` = the command will report and error if there are not exactly N positional args OR if there are any positional args that are not in the `ValidArgs` field of `Command`
392
393
-`RangeArgs(min, max)` - the command will report an error if the number of args is not between the minimum and maximum number of expected args.
0 commit comments