X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=helpcommand.h;h=aedb7b5a626570f39f16d420ca7bd82a0034f740;hb=70491a12902e89b85cfa6b44a7b7fbe066ee2ac1;hp=4ea46280c64f3b527b9b58173e9ff00ceaf4a6e9;hpb=20a2d0350a737a434c89f303662d64a8eeea7b05;p=mothur.git diff --git a/helpcommand.h b/helpcommand.h index 4ea4628..aedb7b5 100644 --- a/helpcommand.h +++ b/helpcommand.h @@ -11,22 +11,32 @@ /* This class is designed to aid the user in running mothur. */ -#include #include "command.hpp" -#include "globaldata.hpp" - +#include "commandfactory.hpp" class HelpCommand : public Command { public: - HelpCommand(); - ~HelpCommand(); - int execute(); -private: - GlobalData* globaldata; + HelpCommand(string); + HelpCommand() {} + ~HelpCommand(){} + + vector setParameters() { return outputNames; } //dummy, doesn't really do anything + string getCommandName() { return "help"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString() { return "For more information about a specific command type 'commandName(help)' i.e. 'cluster(help)'"; } + string getOutputPattern(string) { return ""; } + string getCitation() { return "no citation"; } + string getDescription() { return "help"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: + CommandFactory* validCommands; + vector outputNames; }; -#endif \ No newline at end of file +#endif