Commons CLI -- version 1.3

The commons-cli package aides in parsing command-line arguments.

Allow command-line arguments to be parsed against a descriptor of valid options (long and short), potentially with arguments.

command-line arguments may be of the typical String[] form, but also may be a java.util.List. Indexes allow for parsing only a portion of the command-line. Also, functionality for parsing the command-line in phases is built in, allowing for 'cvs-style' command-lines, where some global options are specified before a 'command' argument, and command-specific options are specified after the command argument:

        myApp -p <port> command -p <printer>
    

The homepage for the project is Apache Commons/