Apache Commons CLI 1.2

A lightweight Java library for building software, applications and scripts that can be controlled via a command line interface (CLI)
The Apache Commons CLI projects features a complex set of controls that allow developers to interact with the user's terminal, supplying him with a set of commands that are then translated into actions inside the application/software.

Commons CLI can parse commands and their arguments/parameters from the user's terminal while also giving him immediate feedback for whatever he typed.

The library can be used for building both CLI command centers and CLI help guides, supporting a wide range of command-line options.

These include:
- POSIX like options
- GNU like long options
- Java like properties
- Short options with value attached
- Long options with single hyphen

last updated on:
February 2nd, 2010, 9:44 GMT
license type:

Apache License

developed by:
Apache Software Foundation
operating system(s):
Windows / Linux / Mac OS / BSD / Solaris
C: \ Development Tools \ Other Libraries
Apache Commons CLI
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
What's New in This Release:
  • A major regression introduced in CLI 1.1 that prevented the usage of repeated options has been fixed.
  • Several parser issues have been fixed, especially with the PosixParser.
  • HelpFormatter now wraps the lines properly
  • The ordering of the option in the help message can now be defined.
read full changelog

Add your review!