X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=setdircommand.h;h=b3b00c46c65b65f1c7f243221ceb4e814a37dbc5;hb=8dd3c225255d7084e3aff8740aa4f1f1cabb367a;hp=663496523e55a9cd2e2a8999043a8eeb743a8b7b;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/setdircommand.h b/setdircommand.h index 6634965..b3b00c4 100644 --- a/setdircommand.h +++ b/setdircommand.h @@ -19,14 +19,25 @@ class SetDirectoryCommand : public Command { public: SetDirectoryCommand(string); - ~SetDirectoryCommand(); - 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 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; + string output, input, tempdefault; bool abort; + vector outputNames; + };