jpayne@69: // Copyright © 2015, Battelle National Biodefense Institute (BNBI); jpayne@69: // all rights reserved. Authored by: Brian Ondov, Todd Treangen, jpayne@69: // Sergey Koren, and Adam Phillippy jpayne@69: // jpayne@69: // See the LICENSE.txt file included with this software for license information. jpayne@69: jpayne@69: #ifndef INCLUDED_CommandList jpayne@69: #define INCLUDED_CommandList jpayne@69: jpayne@69: #include jpayne@69: jpayne@69: #include "Command.h" jpayne@69: jpayne@69: namespace mash { jpayne@69: jpayne@69: class CommandList jpayne@69: { jpayne@69: std::map commands; jpayne@69: jpayne@69: public: jpayne@69: jpayne@69: CommandList(std::string nameNew); jpayne@69: ~CommandList(); jpayne@69: jpayne@69: void addCommand(Command * command); jpayne@69: void print(); jpayne@69: int run(int argc, const char ** argv); jpayne@69: jpayne@69: private: jpayne@69: jpayne@69: void showLicense(); jpayne@69: jpayne@69: std::string name; jpayne@69: }; jpayne@69: jpayne@69: } // namespace mash jpayne@69: jpayne@69: #endif