X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=systemcommand.h;h=27adf7c5993289bc0edeeb9f56b8de5939b2bfb0;hb=250e3b11b1c9c1e1ad458ab6c7e71ac2e67e11d9;hp=55b772b71ddaa62767746d7543f61ae09a5b5e39;hpb=c69e2e9749626cfbf1d6cb0125ae94f869e00b18;p=mothur.git diff --git a/systemcommand.h b/systemcommand.h index 55b772b..27adf7c 100644 --- a/systemcommand.h +++ b/systemcommand.h @@ -18,20 +18,25 @@ class SystemCommand : public Command { public: SystemCommand(string); - SystemCommand() { abort = true; calledHelp = true; } + SystemCommand() { setParameters(); abort = true; calledHelp = true; } ~SystemCommand(){} - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); - + + vector 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 outputNames; - map > outputTypes; + };