Apache Commons CLIThe Apache Commons CLI library provides an API for parsing command-line options passed to an application. It can also print help detailing the options available for that application. Commons CLI supports different types of options:
A typical help message displayed by Commons CLI looks like this:
Check out the introduction page for a detailed presentation. DocumentationA full User's Guide is available as are various project reports. The Javadoc API documents are available online: The source repository can be browsed. Releases
Download the latest version.
For previous releases, see the Apache Archive. Support
The commons mailing lists act as the main support forum. The user list
is suitable for most library usage queries. The dev list is intended for the development discussion. Please
remember that the lists are shared between all commons components, so prefix your email subject by
Issues may be reported via the ASF JIRA. CLI 2?Commons CLI 1.0 was formed from the merger of ideas and code from three different libraries - Werken, Avalon and Optz. In dealing with the bugs and the feature requests a freshly designed and not backwards compatible CLI 2 was created in 2004, but never finished or released. The current plan is to continue to maintain the 1.x line. The CLI2 work may be found in the Commons Sandbox. |