All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.commons.cli.overview.html Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version



    

Apache Commons CLI.

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 {@code String[]} form, but also may be a {@code 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/





© 2015 - 2025 Weber Informatics LLC | Privacy Policy