| 130 | } |
| 131 | |
| 132 | EXPORT bool CommandLineInterface::ShouldEchoCommand(char const* pCommandLine) |
| 133 | { |
| 134 | if (!pCommandLine) |
| 135 | { |
| 136 | return false ; |
| 137 | } |
| 138 | |
| 139 | // echo everything but edit-production |
| 140 | return strncmp(pCommandLine, "edit-production", strlen("edit_production")) != 0; |
| 141 | } |
| 142 | |
| 143 | EXPORT bool CommandLineInterface::DoCommand(Connection* pConnection, sml::AgentSML* pAgent, const char* pCommandLine, bool echoResults, bool rawOutput, ElementXML* pResponse) |
| 144 | { |