configure method

void configure(
  1. ArgParser parser
)

Auto-applies signature to the parser when set. Override to register extra ArgParser features (mandatory options, aliases, custom value validators). When you override, call super.configure(parser) first if you also use the signature DSL.

Implementation

void configure(ArgParser parser) {
  parsedSignature?.applyTo(parser);
}