5 * Created by Sarah Westcott on 1/2/09.
6 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10 #include "nocommands.h"
12 //**********************************************************************************************************************
13 vector<string> NoCommand::getValidParameters(){
15 vector<string> myArray;
19 m->errorOut(e, "NoCommand", "getValidParameters");
23 //**********************************************************************************************************************
24 vector<string> NoCommand::getRequiredParameters(){
26 vector<string> myArray;
30 m->errorOut(e, "NoCommand", "getRequiredParameters");
34 //**********************************************************************************************************************
35 vector<string> NoCommand::getRequiredFiles(){
37 vector<string> myArray;
41 m->errorOut(e, "NoCommand", "getRequiredFiles");
45 //**********************************************************************************************************************
47 NoCommand::NoCommand(string option) {}
49 //**********************************************************************************************************************
51 NoCommand::~NoCommand(){}
53 //**********************************************************************************************************************
55 int NoCommand::execute(){
56 //Could choose to give more help here?fdsah
57 cout << "Invalid command.\n";
59 CommandFactory* valid = CommandFactory::getInstance();
60 valid->printCommands(cout);
65 //**********************************************************************************************************************