quicknote/src/main.cpp

19 lines
634 B
C++

#include "./main.hpp"
int main(int argc, char *argv[])
{
command.addCommand("add", "add a note", commands::add);
command.addCommand("list", "list all notes", commands::list);
command.addCommand("view", "remove a note", commands::view);
command.addCommand("edit", "edit a note", commands::edit);
command.addCommand("remove", "remove a note", commands::remove);
command.addCommand("search", "search quicknote", commands::search);
command.addCommand("help", "show help", commands::help);
setup.runSetup();
command.execute(argc, argv);
// std::cout << "quicknote!" << std::endl;
return 0;
}