最好的CLI解析器为Java [英] The best CLI parser for Java
问题描述
什么是适用于Java的CLI解析器易于使用,并且比其他更易扩展?
。
-
Commons CLI strong>
http://commons.apache.org/cli/ -
Java Gems
http://code.google.com/p/javagems/ -
GetOpt
http://www.urbanophile.com/arenn/hacking/download.html
-
strong> JOpt Simple
http://jopt-simple.sourceforge。 net / -
Args4J
https://args4j.dev.java.net/ -
ArgParser
http:// people.cs.ubc.ca/~lloyd/java/argparser.html -
TE-Code
http://te-code.sourceforge.net/ -
JewelCli
http://jewelcli.sourceforge .net / -
JCommando
http://jcommando.sourceforge.net/
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/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.htmlNatural CLI
http://naturalcli.sourceforge.net/TE-Code
http://te-code.sourceforge.net/JewelCli
http://jewelcli.sourceforge.net/JCommando
http://jcommando.sourceforge.net/Parse-cmd
http://code.google.com/p/parse-cmd/
这篇关于最好的CLI解析器为Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!