MCPcopy Create free account
hub / github.com/SoarGroup/Soar / ShouldEchoCommand

Method ShouldEchoCommand

Core/CLI/src/cli_CommandLineInterface.cpp:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132EXPORT 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
143EXPORT bool CommandLineInterface::DoCommand(Connection* pConnection, sml::AgentSML* pAgent, const char* pCommandLine, bool echoResults, bool rawOutput, ElementXML* pResponse)
144{

Callers 1

HandleCommandLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected