#include #include #include #include "Helper.h" #include "Connection.h" #include "Commands.h" #include "../HiddenLib/HiddenLib.h" using namespace std; int wmain(int argc, wchar_t* argv[]) { try { Arguments arguments(argc, argv); if (!arguments.ArgsCount()) throw WException( -2, L"Welcome to HiddenCLI, please use 'hiddencli help'" ); Connection connection(arguments); Commands commands(arguments); } catch (WException& exception) { wcerr << exception.What() << endl; return exception.Code(); } catch (exception& exception) { cerr << exception.what() << endl; return -1; } return 0; }