X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=systemcommand.h;h=8c959cfb52302df67651a4196ea533751ad596a1;hb=9d6f36294dcaef3ac65a0e69fd8140077c3209e0;hp=55b772b71ddaa62767746d7543f61ae09a5b5e39;hpb=c69e2e9749626cfbf1d6cb0125ae94f869e00b18;p=mothur.git diff --git a/systemcommand.h b/systemcommand.h index 55b772b..8c959cf 100644 --- a/systemcommand.h +++ b/systemcommand.h @@ -18,20 +18,22 @@ 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(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: string command; bool abort; vector outputNames; - map > outputTypes; + };