diff -r 77593735b057 -r 3798b6bc9aea relpipe-in-cli.cpp --- a/relpipe-in-cli.cpp Sat Jul 28 08:13:35 2018 +0200 +++ b/relpipe-in-cli.cpp Sat Jul 28 14:06:53 2018 +0200 @@ -9,11 +9,14 @@ #include #include "CLI.h" +#include "Command.h" +#include "ArgumentsCommand.h" int demo(); int main(int argc, char** argv) { using namespace relpipe::cli; + using namespace relpipe::in::cli; using namespace relpipe::writer; setlocale(LC_ALL, ""); @@ -32,6 +35,9 @@ if (action == L"demo") { resultCode = demo(); + } else if (action == L"generate") { + ArgumentsCommand command; + command.process(cin, cout, action, arguments); } else { fwprintf(stderr, L"Unknown command: %ls\n", action.c_str()); resultCode = CLI::EXIT_CODE_UNKNOWN_COMMAND;