public:
Command() { m = MothurOut::getInstance(); }
+ virtual vector<string> getValidParameters() = 0;
+ virtual vector<string> getRequiredParameters() = 0; //adding "or" as the last element indicates one of the previous is needed
+ virtual vector<string> getRequiredFiles() = 0; //adding "or" as the last element indicates one of the previous is needed
+ virtual map<string, vector<string> > getOutputFiles() = 0; //file type to names
virtual int execute() = 0;
virtual void help() = 0;
virtual ~Command() { }
protected:
MothurOut* m;
+ bool calledHelp;
};
#endif