X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=systemcommand.h;h=27adf7c5993289bc0edeeb9f56b8de5939b2bfb0;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=410a12e7657a1c0625281429e261a519dccf45ef;hpb=55dad85695dba70b4447d1430733ecd85754783c;p=mothur.git diff --git a/systemcommand.h b/systemcommand.h index 410a12e..27adf7c 100644 --- a/systemcommand.h +++ b/systemcommand.h @@ -18,13 +18,25 @@ class SystemCommand : public Command { public: SystemCommand(string); - ~SystemCommand(){}; - int execute(); - void help(); - + SystemCommand() { setParameters(); abort = true; calledHelp = true; } + ~SystemCommand(){} + + 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; + };