mirror of
https://github.com/Yet-Another-DreamTeam/quicknote.git
synced 2026-03-13 16:14:39 +00:00
19 lines
634 B
C++
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;
|
|
} |