X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nocommands.h;h=a5855dced6a50c8a808464421ceb34dd6cd5aa24;hb=5a4ac4f954c4b4445bcee272f1f8220ddcc9c1e4;hp=b529392a890483eeb61b5346f6a59ef91add7d9a;hpb=c25c956e4a3c7ca3271d48ee6215c72b2ec80c44;p=mothur.git diff --git a/nocommands.h b/nocommands.h index b529392..a5855dc 100644 --- a/nocommands.h +++ b/nocommands.h @@ -12,15 +12,30 @@ /* This command is run if the user enters an invalid command. */ #include "command.hpp" +#include "commandfactory.hpp" class NoCommand : public Command { public: - NoCommand(); - ~NoCommand(); - int execute(); + NoCommand(string); + NoCommand() {} + ~NoCommand(){} + + vector setParameters() { return outputNames; } //dummy, doesn't really do anything + string getCommandName() { return "NoCommand"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString() { return "No Command"; } + string getOutputFileNameTag(string, string) { return ""; } + string getCitation() { return "no citation"; } + string getDescription() { return "no description"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: + vector outputNames; };