]> git.donarmstrong.com Git - mothur.git/blob - getcommandinfocommand.h
added command descriptions
[mothur.git] / getcommandinfocommand.h
1 #ifndef GETCOMMANDINFOCOMMAND_H
2 #define GETCOMMANDINFOCOMMAND_H
3
4 /*
5  *  getcommandinfo.h
6  *  Mothur
7  *
8  *  Created by westcott on 4/6/11.
9  *  Copyright 2011 Schloss Lab. All rights reserved.
10  *
11  */
12
13
14
15 #include "command.hpp"
16 #include "commandfactory.hpp"
17
18 /**********************************************************/
19
20 class GetCommandInfoCommand : public Command {
21         
22 public:
23         GetCommandInfoCommand(string);
24         GetCommandInfoCommand() { abort = true; calledHelp = true; setParameters(); }
25         ~GetCommandInfoCommand(){}
26         
27         vector<string> setParameters();
28         string getCommandName()                 { return "get.commandinfo";             }
29         string getCommandCategory()             { return "Hidden";                              }
30         string getHelpString(); 
31         string getCitation() { return "no citation"; }
32         string getDescription()         { return "get.commandinfo"; }
33         
34         
35         int execute(); 
36         void help() { m->mothurOut(getHelpString()); }  
37         
38 private:
39         CommandFactory* commandFactory;
40         string output;
41         bool abort;
42         vector<string> outputNames;
43         
44         int getInfo(vector<CommandParameter>, vector<string>&, vector<string>&, vector<string>&, vector<string>&, vector<string>&, map<string, string>&);
45
46         
47         
48 };
49
50 /**********************************************************/
51
52 #endif
53