parse method
Parses args and returns the result, converting an ArgParserException
to a UsageException.
This is notionally a protected method. It may be overridden or called from subclasses, but it shouldn't be called externally.
Implementation
@override
ArgResults parse(Iterable<String> args) {
final parsed = super.parse(args);
_onParsed?.call(parsed);
return parsed;
}