A basic library providing an extensible CLI interface written in C++. This library is meant to help with alot of argument boilerplating. Speeding up workflows of developing primarily CLI based applications.
Example program:
#include <iostream>
#include <opencxx-cli/cli.h>
using namespace opencxx_cli;
int testFunc() {
    std::cout << "Hello World!\n";
    return 0;
}
int main(int argc, char *argv[]) {
    opencxx_cli::CLI cli;
    std::vector<CLI::entryData> entries;
    cli.addEntry("--test", "-t", testFunc, &entries, false, "This will show on help()");
    cli.parse(entries, cli.vectorize(argc, argv));
    return 0;
}More information can be found in the wiki. But the general idea is to create a vector to store entries, add entries, then run cli.parse() to let it handle the rest.
- Basic Color Manipulation.
 -  Automated argument handling.
-  Populate 
--helpwith new argument checks. - Iterate over vector of arguments
 - Call respective functions that were declared earlier in code.
 -  
returnArg(), Used for getting the next argument for custom functions. 
 -  Populate 
 -  Flavortext and colorizing of default commands.
- Options for default menu colorizations through a basic function and structs.
 
 -  
libCURLlike configuration on the fly. -  
--versiondefault menu available for fetching too. 
More coming soon
meson >= 1.3.1ninja >= 1.11.1clang >= 16.0.6
Use the provided ./install.sh file, While it's currently a quick and dirty script, it does get everything where it needs to go. Looking to improve this in the future.
meson setup <builddir> && cd <builddir>(replace builddir with directory for build)ninja- Once it is done compiling you will need to install the libraries (
<builddir>/src) andopencxx-cli.pc(<builddir>/meson-private) into your preferred library folder andpkg-configcache. - Copy 
./includeinto a subfolder in your include folder. For the sake of portability useopencxx-clias the subfolder name. 
Made with love. Started by JPD <3
Questions? Comments? Requests? Want to chat? Join our Discord: https://discord.gg/JCHa4h4Y55
hurbIndustries 2024