X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=systemcommand.h;h=27adf7c5993289bc0edeeb9f56b8de5939b2bfb0;hb=541bab1dac00688b4c3a8c4a95ab464412663c50;hp=892ac96268baeb2557c51cc67dd0fc571ea4dbfa;hpb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;p=mothur.git diff --git a/systemcommand.h b/systemcommand.h index 892ac96..27adf7c 100644 --- a/systemcommand.h +++ b/systemcommand.h @@ -18,14 +18,17 @@ class SystemCommand : public Command { public: SystemCommand(string); - SystemCommand() { abort = true; calledHelp = true; } + SystemCommand() { setParameters(); abort = true; calledHelp = true; } ~SystemCommand(){} - vector setParameters() { return outputNames; } //dummy does not do anything + vector setParameters(); string getCommandName() { return "system"; } string getCommandCategory() { return "General"; } - string getHelpString(); - + 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()); }