Creating Java Command Line Applications using jLine
There is a nice library called jLine http://jline.sourceforge.net/ which can be used to write nice CLI apps without much effort. It has out of the box support for;
- Command History
- Tab completion
- Line editing
- Custom Key Bindings
- Character masking
I've written simple sample application on how to use jLine. You can check that out in github https://github.com/sandarenu/sample-apps/tree/master/java-cli-app.
Hi Sandarenu.
Do you have other samples code to understand how jline works?
I don't succed using your code.
CAn you help me?
Thanks a lot
Silvio
Post a Comment