getNonOptionArgs abstract method

  1. @protected
List<String> getNonOptionArgs()

Returns the list of arguments that are not in --key=value format.

These are typically positional or unnamed arguments.

Example:

final extras = getNonOptionArgs();
print(extras); // ['input.txt', 'output.log']

Implementation

@protected
List<String> getNonOptionArgs();