How to fetch parameters when using the Apache Commons CLI library

Use the following method:

CommandLine.getArgList()

which returns whatever’s left after options have been processed.

Leave a Comment