Java library for parsing command-line parameters?
Posted
by
Mnementh
on Stack Overflow
See other posts from Stack Overflow
or by Mnementh
Published on 2009-07-29T12:55:46Z
Indexed on
2013/07/03
17:05 UTC
Read the original article
Hit count: 352
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
© Stack Overflow or respective owner