Hi all,
I did many experiments with various java based command line parser
libraries.
1. Commons-cli
2. Args4j
3. JCommander
4. JOpt Simple
5. Airlift Airline
6. commandline
Since the last few days I was using commons-cli but I found that it is weak
at some points.. Eg: parsing multiple arguments
So, I did some experiments with the other tools.
Then I found that the airlift airline library could support the functions I
need:
* Parsing multiple arguments
ex: tvnlang --convert file1 file2 file3
* parsing options as arguments
ex: tvnlang --convert -r -i files -o file
* ability do define options for commands separately
-i, -o can be defined for convert only.
* Well structured help generator
--generate help for each command automatically and man page like
structure
This is the git repo for that project.
https://github.com/airlift/airline
If you have some other suggestions please tell me.
Thank you very much
Regards
Menaka
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>