Java library for parsing command-line parameters?
- by Mnementh
I write a little command-line-application in Java. This application should work with a mix of parameters and commands, similar to svn.
Examples
app url command1
app url command2 --parameter2 -x
app url command1 --param-with-argument argument
app --parameter url command1
app --no-url command2
app --help
Wanted
Exists an easy-to-use library for Java
Supports parsing of such command-lines
(Bonus) Automatically creates an appropriate help