Commons CLI2

CLI2 has been developed with the goals of clearer responsibilities and being more flexible than Commons CLI. The intention is that CLI2 should be able to model a far greater selection of interfaces and do so more completely, validating as much as possible.

The redesigned CLI2 is rooted in the org.apache.commons.cli2 package.


A full User's Guide is available as are various project reports.

The Javadoc API documents are available online:

The Subversion repository can be browsed.


CLI2 is a component in the Commons Sandbox and therefore has not had a release.


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 [cli2].

Issues may be reported via the ASF JIRA.