Skip to content
Alexandre Meslé edited this page Oct 26, 2018 · 4 revisions

CommandLine

Framework for building command-line user interfaces. Through menus and options, it allows developers to quickly set up a back-end user interface.

Why ?

We all know that setting up a dialogue between the user and the machine can be a pain in the knee. Checking all the inputs, setting up a tree of menus is something most programmers can do, but it is a great loss of time since a lot of copy and paste operations are required.

This package is made to gain a lot of time. You can build command line menus, set up the navigation between them, bind operations to options, and the framework will manage the navigation, the input/output operations, the error handling, and so on. It is highly customizable, supplied with a lot of examples, and it helps you organize your code a way that makes maintenance easy.

Should I use this ?

It is a good idea to use this framework if you want to very quickly develop a minimalist command-line user interface. Especially if you need a backend at a minimal cost.

But it would be a very bad idea to provide a command-line front end for a standard user. In this case, I recommand you to use a javaFX or J2EE user interface.

How to learn

Please read the Quickstart, than feel free to look at the javadoc and the examples.

Clone this wiki locally