Main

Command Line Interfaces Archives

January 24, 2008

Apache Commons CLI library

The Apache Commons CLI library provides an API for processing command line interfaces.

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.0 was created, but never finished or released. Since then a CLI 1.1 bugfix release has been made.

There are currently no plans to continue the 1.x line beyond bugfixes. The 2.x design is generally preferred and is in use, however there is no current activity to make a 2.0 release. To this end, the 1.1 release is recommended to most users while the 2.x line is recommended for anyone interested in helping to get this better API released.

Apache Commons CLI library Home Page
http://commons.apache.org/

Download Apache Commons CLI library
http://commons.apache.org/downloads/download_cli.cgi

Natural CLI

Natural CLI is a Java library providing to developers command line interfaces with human readable sentences.

It means, your software can understand easily command lines like the following:

Main Features:

* Java implementation.
* Easy to code. Please, visit the examples page and the Javadocs.
* Type checking for parameters and user defined types.
* Optional parameters and tokens.
* Build-id help command and others.
* Full tested with JUnit.
* Can be compatible with Apache Commons CLI.

Natural CLI Home Page

http://naturalcli.sourceforge.net/

Download Natural CLI
http://sourceforge.net/project/showfiles.php?group_id=208949

args4j

args4j is a small Java class library that makes it easy to parse command line options/arguments in your CUI application.

* It makes the command line parsing very easy by using annotations.
* You can generate the usage screen very easily.
* You can generate HTML/XML that lists all options for your documentation.
* Fully supports localization.
* It is designed to parse javac like options (as opposed to GNU-style where ls -lR is considered to have two options l and R.)
* It is licensed under the MIT license.

args4j Home Page
https://args4j.dev.java.net/

Download args4j
https://args4j.dev.java.net/servlets/ProjectDocumentList?folderID=3330&expandFolder=3330&folderID=0

About Command Line Interfaces

This page contains an archive of all entries posted to Open Source Java Community and OpenJDK Resources. Latest News, podcasts, Updates, downloads. in the Command Line Interfaces category. They are listed from oldest to newest.

Chat Servers is the previous category.

Content Management Systems is the next category.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.35