practically the whole thing up and running. I should make commits more often...

This commit is contained in:
Odweta
2023-12-27 16:14:07 +01:00
parent 7d64937966
commit d5802dd341
14 changed files with 500 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
#include "../include/args.h"
#include "../include/build.h"
#include "../include/new.h"
#include "../include/run.h"
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
args_t args = parse_args(argc, argv);
switch (args.main_arg) {
case NEW:
new_project(args.project_name);
break;
case BUILD:
build_project();
break;
case RUN:
run_project();
break;
}
free(args.project_name);
return 0;
}