1 #ifndef SETDIRCOMMAND_H
2 #define SETDIRCOMMAND_H
8 * Created by westcott on 1/21/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
13 #include "command.hpp"
14 #include "commandfactory.hpp"
16 /**********************************************************/
18 class SetDirectoryCommand : public Command {
21 SetDirectoryCommand(string);
22 SetDirectoryCommand() { abort = true; calledHelp = true; setParameters(); }
23 ~SetDirectoryCommand(){}
25 vector<string> setParameters();
26 string getCommandName() { return "set.dir"; }
27 string getCommandCategory() { return "General"; }
28 string getOutputFileNameTag(string, string) { return ""; }
29 string getHelpString();
30 string getCitation() { return "http://www.mothur.org/wiki/Set.dir"; }
31 string getDescription() { return "set input, output and default directories"; }
34 void help() { m->mothurOut(getHelpString()); }
37 CommandFactory* commandFactory;
38 string output, input, tempdefault;
39 bool abort, debugOnly;
40 vector<string> outputNames;
45 /**********************************************************/