]> git.donarmstrong.com Git - mothur.git/blobdiff - systemcommand.h
added citation function to commands
[mothur.git] / systemcommand.h
index 55b772b71ddaa62767746d7543f61ae09a5b5e39..3c22773f2d9e70417c6dc3fef6a58181a16440f0 100644 (file)
@@ -18,20 +18,23 @@ class SystemCommand : public Command {
        public:
        
                SystemCommand(string);  
-               SystemCommand() { abort = true; calledHelp = true; }
+               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 getCitation() { return "http://www.mothur.org/wiki/System"; }
+       
+               int execute(); 
+               void help() { m->mothurOut(getHelpString()); }  
+       
        private:
                string command;
                bool abort;
                vector<string> outputNames;
-               map<string, vector<string> > outputTypes;
+               
                
 };