]> git.donarmstrong.com Git - mothur.git/blobdiff - setlogfilecommand.h
added modify names parameter to set.dir
[mothur.git] / setlogfilecommand.h
index e0555d00a185559841902dc232a4a603819df0dc..0354971a0b2d92cf2edc7cf742b80beae1a9be17 100644 (file)
@@ -19,21 +19,26 @@ class SetLogFileCommand : public Command {
        
 public:
        SetLogFileCommand(string);
-       SetLogFileCommand() { abort = true; calledHelp = true; }
-       ~SetLogFileCommand();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();
-       void help();
+       SetLogFileCommand() { setParameters(); abort = true; calledHelp = true; }
+       ~SetLogFileCommand(){}
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "set.logfile";         }
+       string getCommandCategory()             { return "General";                     }
+       
+       string getHelpString(); 
+    string getOutputPattern(string){ return ""; }      
+       string getCitation() { return "http://www.mothur.org/wiki/Set.logfile"; }
+       string getDescription()         { return "set logfile name"; }
+
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
        
 private:
        CommandFactory* commandFactory;
        string name;
        bool abort, append;
        vector<string> outputNames;
-       map<string, vector<string> > outputTypes;
                
 };