added config files

This commit is contained in:
bronku 2025-11-20 10:30:59 +01:00
parent e0b407f8fb
commit fd2d08fb24
7 changed files with 90 additions and 54 deletions

View file

@ -1,7 +1,14 @@
#include "../build/parser.hpp"
#include "../src/config.hpp"
int main(int argc, char *argv[])
{
Configuration config(argc, argv);
if (!config.valid)
{
std::cout << "Please provide a valid configuration\n";
return -1;
}
Elite::ParserCtx ctx;
return ctx.parser->parse();
}