JewelCLI 0.4 review
DownloadJewelCLI provides an API to parse command line arguments
|
|
JewelCLI provides an API to parse command line arguments. JewelCLI uses Java annotations to present a very simple but powerful interface. Options are defined using an annotated Java interface definition.
This allow a declarative style which can be much clearer than the procedural style used by some other Java CLI libraries.
Requirements:
junit 3.8.1
What's New in This Release:
Support was added for help/usage messages, unparsed arguments, and regular expression validation.
Long arguments now use the "--" prefix, and "-" prefixed arguments are short options.
Support was added for --option=value and multiple short option names (one option with many aliases).
Primitive type support was fixed, including adding support for Character.
Two new aliases were added: the "commandLineInterface" annotation, to hold application name, and the "unparsed" annotation, to mark the method which will return the additional unparsed options.
JewelCLI 0.4 keywords