]> git.donarmstrong.com Git - mothur.git/blobdiff - systemcommand.h
changes while testing
[mothur.git] / systemcommand.h
index 3b48642aeec3b1cb5e4fc9e1a24d152d09dccc94..27adf7c5993289bc0edeeb9f56b8de5939b2bfb0 100644 (file)
@@ -18,20 +18,25 @@ class SystemCommand : public Command {
        public:
        
                SystemCommand(string);  
-               SystemCommand() {}
+               SystemCommand() { setParameters(); abort = true; calledHelp = true; }
                ~SystemCommand(){}
-               vector<string> getRequiredParameters();
-               vector<string> getValidParameters();
-               vector<string> getRequiredFiles();
-               map<string, vector<string> > getOutputFiles() { return outputTypes; }
-               int execute();
-               void help();    
-               
+       
+               vector<string> setParameters();
+               string getCommandName()                 { return "system";              }
+               string getCommandCategory()             { return "General";             }
+        string getHelpString();        
+        string getOutputPattern(string){ return ""; }  
+               string getCitation() { return "http://www.mothur.org/wiki/System"; }
+               string getDescription()         { return "execute system commands from within mothur"; }
+
+               int execute(); 
+               void help() { m->mothurOut(getHelpString()); }  
+       
        private:
                string command;
                bool abort;
                vector<string> outputNames;
-               map<string, vector<string> > outputTypes;
+               
                
 };