add NotImplementedException

This commit is contained in:
lucaspalomodevelop 2023-10-03 17:04:17 +02:00
parent 3dbf5e95c3
commit 15b2eb2fc0
2 changed files with 13 additions and 3 deletions

View File

@ -2,49 +2,59 @@
#define COMMANDS_H
#include <iostream>
#include "../lib/lpstd/lpstd.hpp"
namespace commands
using namespace lpstd::exceptions;
namespace commands
{
void add(int argc, char *argv[])
{
std::cout << "add" << std::endl;
throw NotImplementedException();
}
void list(int argc, char *argv[])
{
std::cout << "list" << std::endl;
throw NotImplementedException();
}
void view(int argc, char *argv[])
{
std::cout << "view" << std::endl;
throw NotImplementedException();
}
void edit(int argc, char *argv[])
{
std::cout << "edit" << std::endl;
throw NotImplementedException();
}
void remove(int argc, char *argv[])
{
std::cout << "remove" << std::endl;
throw NotImplementedException();
}
void search(int argc, char *argv[])
{
std::cout << "search" << std::endl;
throw NotImplementedException();
}
// not implemented
void collect(int argc, char *argv[])
{
// lpstd::NotImplementedException();
std::cout << "collect" << std::endl;
throw NotImplementedException();
}
void help(int argc, char *argv[])
{
std::cout << "help" << std::endl;
throw NotImplementedException();
}
} // namespace commands

View File

@ -3,5 +3,5 @@
#include "./command.h"
#include "./commands.h"
Setup setup = Setup();
Setup setup;
Command command;