What CLI parser for Java is easy to use and more scalable than others?
Here are some of the most popular. They are all pretty feature complete, and having used the top two I can recommend them.
Commons CLI
http://commons.apache.org/cli/
Java Gems
http://code.google.com/p/javagems/
picocli (with colorized usage help and autocomplete)
http://picocli.info/
JArgs
http://jargs.sourceforge.net/
GetOpt
http://www.urbanophile.com/arenn/hacking/download.html
EDIT: For completeness, here are some others I've come across
JOpt Simple
http://jopt-simple.sourceforge.net/
Args4J
https://args4j.dev.java.net/
ArgParser
http://people.cs.ubc.ca/~lloyd/java/argparser.html
Natural CLI
http://naturalcli.sourceforge.net/
TE-Code
http://te-code.sourceforge.net/
JSAP
http://www.martiansoftware.com/jsap/
CLAJR
http://clajr.sourceforge.net/
CmdLn
http://ostermiller.org/utils/CmdLn.html
JewelCli
http://jewelcli.sourceforge.net/
JCommando
http://jcommando.sourceforge.net/
Parse-cmd
http://code.google.com/p/parse-cmd/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With