/* This class is designed to aid the user in running mothur. */
#include "command.hpp"
-#include "globaldata.hpp"
-#include "validcommands.h"
-
+#include "commandfactory.hpp"
class HelpCommand : public Command {
public:
- HelpCommand();
- ~HelpCommand();
- int execute();
-private:
- GlobalData* globaldata;
- ValidCommands* validCommands;
+ HelpCommand(string);
+ HelpCommand() {}
+ ~HelpCommand(){}
+
+ vector<string> 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)'"; }
+
+ int execute();
+ void help() { m->mothurOut(getHelpString()); }
+
private:
+ CommandFactory* validCommands;
+ vector<string> outputNames;
};