jLine 2 is a simple command line interface written in Java.