X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=setdircommand.h;h=ab174c2b783eca5c3a7fc0d74a8a2f6c5abf4a70;hp=1afab07244ef9f9464b98224249fea447f00402e;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281 diff --git a/setdircommand.h b/setdircommand.h index 1afab07..ab174c2 100644 --- a/setdircommand.h +++ b/setdircommand.h @@ -12,7 +12,6 @@ #include "command.hpp" #include "commandfactory.hpp" -#include "globaldata.hpp" /**********************************************************/ @@ -20,21 +19,27 @@ class SetDirectoryCommand : public Command { public: SetDirectoryCommand(string); - SetDirectoryCommand() {} - ~SetDirectoryCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + SetDirectoryCommand() { abort = true; calledHelp = true; setParameters(); } + ~SetDirectoryCommand(){} + + vector setParameters(); + string getCommandName() { return "set.dir"; } + string getCommandCategory() { return "General"; } + + string getHelpString(); + string getOutputPattern(string){ return ""; } + string getCitation() { return "http://www.mothur.org/wiki/Set.dir"; } + string getDescription() { return "set input, output and default directories"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: CommandFactory* commandFactory; string output, input, tempdefault; - bool abort; + bool abort, debugOnly; vector outputNames; - map > outputTypes; + };