src/relpipe-in-cli.cpp
branchv_0
changeset 42 09cd32a65709
parent 37 27f0ffa712d9
child 43 3c8ea5dcf793
--- a/src/relpipe-in-cli.cpp	Sat Jun 06 01:50:42 2020 +0200
+++ b/src/relpipe-in-cli.cpp	Tue Sep 22 17:42:19 2020 +0200
@@ -27,7 +27,6 @@
 
 #include "Command.h"
 #include "ArgumentsCommand.h"
-#include "DemoCommand.h"
 #include "StdInCommand.h"
 
 using namespace relpipe::cli;
@@ -37,8 +36,7 @@
 Command* findCommand(string_t commandName) {
 	// TODO: better command names
 	// TODO: help command
-	if (commandName == L"demo") return new DemoCommand();
-	else if (commandName == L"generate") return new ArgumentsCommand();
+	if (commandName == L"generate") return new ArgumentsCommand();
 	else if (commandName == L"generate-without-stdin") return new StdInCommand(false); // TODO: just for testing, StdInCommand(false) should work same as ArgumentsCommand()
 	else if (commandName == L"generate-from-stdin") return new StdInCommand(true);
 	else throw RelpipeCLIException(L"Unknown command: " + commandName, CLI::EXIT_CODE_UNKNOWN_COMMAND);