git clone https://github.com/ruxixa/coolcli
#include "include/coolcli/coolcli.hpp" // Path to the file
Clear the console
coolcli::console::clearConsole();
Resize the console
coolcli::console::resizeConsole(70, 30);
Set text color
std::cout << coolcli::color::blue << "Hello, CoolCLI" << coolcli::color::reset << std::endl;
Set background color
std::cout << coolcli::background_color::cyan "Hello, CoolCLI" << coolcli::background_color::reset << std::endl
#include "../include/coolcli/coolcli.hpp"
#include <iostream>
int main() {
coolcli::console::clearConsole();
coolcli::console::resizeConsole(70, 30);
std::cout << coolcli::color::blue << "Hello, CoolCLI" << coolcli::color::reset << std::endl;
std::cout << coolcli::background_color::cyan << "We cleared the console and resized it to 70x30"
<< coolcli::background_color::reset << std::endl;
return 0;
}