Open-source library for developing terminal or console applications.
Write with style, generate menus quickly, capture user input from the terminal, and more!
This library was developed to simplify the creation of console applications using Java. Its main goal is to provide features that make development simpler, more organized, and more enjoyable, especially for those who are just getting started with programming.
With cpl, you can add more style to terminal applications and use utilities that speed up common tasks, allowing developers to focus on their project's logic instead of reimplementing basic functionalities.
Attention! Using JDK 21 is essential for the best experience.
- Download the library's
.jarfile from the project's Releases page. - In Eclipse, right-click on the project.
- Select Build Path → Configure Build Path...
- Go to the Libraries tab.
- Click Add External JARs...
- Select the cpl
.jarfile. - Click Apply and Close.
- Download the library's
.jarfile from the project's Releases page. - Open your project in IntelliJ.
- Go to File → Project Structure... (
Ctrl + Alt + Shift + S). - Select Modules → Dependencies.
- Click the + button and select JARs or Directories.
- Select the cpl
.jarfile. - Click OK and then Apply.
- Download the library's
.jarfile from the project's Releases page. - Open your project in VS Code.
- Create a folder named
libin the project's root directory, if it does not already exist. - Place the cpl
.jarfile inside this folder. - In the JAVA PROJECTS panel, locate Referenced Libraries.
- Click the + button (Add JARs) and select the
.jarfile from thelibfolder.
After importing the library, cpl will be available for use in your project.
package principal;
import cpl.style.Write;
import cpl.util.Terminal;
public class Main {
public static void main(String[] args) {
Write.type("Hello world!!", 100);
Terminal.clean();
}
}Writes the text letter by letter and then clears the terminal.
This project is licensed under the MIT License. See the LICENSE file for more information.
Developed and published by Enzo Capitani, software developer and Computer Science undergraduate.