MCPcopy Create free account
hub / github.com/BruceDevices/firmware / createListCommand

Function createListCommand

src/core/serial_commands/storage_commands.cpp:880–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880void createListCommand(SimpleCLI *cli) {
881 Command cmd = cli->addCommand("ls,dir", listCallback);
882 cmd.addPosArg("filepath", "");
883}
884
885void createReadCommand(SimpleCLI *cli) {
886 Command cmd = cli->addCommand("cat,type", readCallback);

Callers 1

createStorageCommandsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected