Description
JLine is a Java library for handling console input. It is similar in functionality to BSD editline and GNU readline but with additional features that bring it in par with ZSH line editor. People familiar with the readline/editline capabilities for modern shells (such as bash and tcsh) will find most of the command editing features of JLine to be familiar.
JLine 3.x is an evolution of JLine 2.x.
License
JLine is distributed under the BSD License, meaning that you are completely free to redistribute, modify, or sell it with almost no restrictions.
Documentation
Forums
Maven Usage
Use the following definition to use JLine in your maven project:
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline</artifactId>
<version>3.3.0</version>
</dependency>
JLine can also be used with more low-level jars:
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-terminal</artifactId>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-reader</artifactId>
<version>3.3.0</version>
</dependency>
Building
Requirements
- Maven 3.3+ (prefer included maven-wrapper)
- Java 8+
Check out and build:
git clone git://github.com/jline/jline3.git
cd jline3
mvn install