Starting CUBE-OS v0.1...

This commit is contained in:
KiritoDv
2023-08-17 00:40:00 -06:00
parent 6fd8e5ee43
commit 1c5b3de55c
16 changed files with 2582 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#include <iostream>
#include "CLI11.hpp"
#include "Companion.h"
Companion* Companion::Instance;
int main(int argc, char *argv[]) {
CLI::App app{"CubeOS - Rom extractor"};
std::string filename;
app.add_option("path", filename, "sm64 us rom")->required()->check(CLI::ExistingFile);
try {
app.parse(argc, argv);
} catch (const CLI::ParseError &e) {
return app.exit(e);
}
Companion::Instance = new Companion(filename);
Companion::Instance->Start();
return 0;
}