summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 6871fb9..68b3cdf 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -1,7 +1,10 @@
#include "logger.h"
+#include "cli.h"
#include <getopt.h>
#include <iostream>
+
+
void err()
{
std::cerr << "Usage:\n\trisc_vector [OPTIONS]\nOptions:\n\t--debug,\t-d: "
@@ -39,8 +42,8 @@ void parseArguments(int argc, char **argv, Logger &logger, bool &python)
int main(int argc, char **argv)
{
-
Logger logger("vector.log");
+ Cli cli;
logger.log(INFO, "Initializing...");
bool python = true;
@@ -52,5 +55,6 @@ int main(int argc, char **argv)
logger.log(INFO, "Python started.");
}
+ cli.run();
return EXIT_SUCCESS;
-}
+} \ No newline at end of file