argParser property

ArgParser argParser
read / write, override-getter

The argument parser for this command.

Options for this command should be registered with this parser (often in the constructor); they'll end up available via argResults. Subcommands should be registered with addSubcommand rather than directly on the parser.

This can be overridden to change the arguments passed to the ArgParser constructor.


ArgParser argParser = ArgParser.allowAnything();