]> git.donarmstrong.com Git - mothur.git/blobdiff - setlogfilecommand.h
added load.logfile command. changed summary.single output for subsample=t.
[mothur.git] / setlogfilecommand.h
index d2b5c3d63bc3490d6a478fd3ced457706422f2ec..a97c7910ad6ccc2ad63544c0f2f6b9b875af1da8 100644 (file)
@@ -19,21 +19,25 @@ class SetLogFileCommand : public Command {
        
 public:
        SetLogFileCommand(string);
-       SetLogFileCommand() {}
-       ~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 getOutputFileNameTag(string, string) { return ""; }
+       string getHelpString(); 
+       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;
                
 };