| 252 | } |
| 253 | |
| 254 | Command SimpleCLI::addBoundlessCmd(const char* name, void (* callback)(cmd* c)) { |
| 255 | Command c(cmd_create_boundless(name)); |
| 256 | |
| 257 | c.setCallback(callback); |
| 258 | addCmd(c); |
| 259 | |
| 260 | return c; |
| 261 | } |
| 262 | |
| 263 | Command SimpleCLI::addSingleArgCmd(const char* name, void (* callback)(cmd* c)) { |
| 264 | Command c(cmd_create_single(name)); |
nothing calls this directly
no test coverage detected