-
Persistent flags:
Command.add_persistent_flag(..)
Persistent flag must then be passed down the call stack.
-
Required flags:
Have an option to set
bool required
. Which is also validated (see args validator). -
Args validator for positional arguments
Command.args
(probably same function ptr as for run?)- NoArgs
- ArbitraryArgs
- MinimumNArgs(int)
- MaximumNArgs(int)
- ExactArgs(int)
- RangeArgs(min, max)