Command Line Interface Parser for Java.
Using annotations you can make very succinct main methods that don't need to know how to parse command line arguments with either fields, properties, or method based injection..
Here is the list of declaration for cli. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.google.code.cli-parser</groupId> <artifactId>cli</artifactId> <version>7</version> </dependency>
If you think this Maven repository POM file listing for cli is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The following packages are defined in the cli-7.jar
com.sampullara.cli
Here is the content of the POM file.
<project> <modelVersion>4.0.0</modelVersion> <groupId>com.google.code.cli-parser</groupId> <artifactId>cli</artifactId> <version>7</version> <name>Command Line Interface Parser for Java</name> <description> Using annotations you can make very succinct main methods that don't need to know how to parse command line arguments with either fields, properties, or method based injection. </description> <url>http://code.google.com/p/cli-parser/</url> <scm> <connection>scm:svn:http://cli-parser.googlecode.com/svn/trunk/</connection> <url>http://cli-parser.googlecode.com/svn/trunk/</url> </scm> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> </project>