X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=setdircommand.h;h=36753edeb57f8601dd0a1f5309b9c1cf67109429;hp=6263c5eb9a55c391a0a91adf657b82d2be97d6cf;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=c69e2e9749626cfbf1d6cb0125ae94f869e00b18 diff --git a/setdircommand.h b/setdircommand.h index 6263c5e..36753ed 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() { abort = true; calledHelp = true; } - ~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, modifyNames; vector outputNames; - map > outputTypes; + };