MCPcopy Create free account
hub / github.com/SpacehuhnTech/SimpleCLI / addCommand

Method addCommand

src/SimpleCLI.cpp:272–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272Command SimpleCLI::addCommand(const char* name, void (* callback)(cmd* c)) {
273 return addCmd(name, callback);
274}
275
276Command SimpleCLI::addBoundlessCommand(const char* name, void (* callback)(cmd* c)) {
277 return addBoundlessCmd(name, callback);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected