Closed Interrupt closed 2 months ago
This adds a new function under delve.debug that lets modules add new console commands.
This can be used like:
pub fn helloCmd(args: []const u8) void { delve.debug.log("Hello world!", .{}); } ... delve.debug.registerConsoleCommand(.{ .command = "hello", .func = helloCmd, .help = "Prints hello world" });
Registered commands also show in the console when the help command is used
help
This adds a new function under delve.debug that lets modules add new console commands.
This can be used like:
Registered commands also show in the console when the
help
command is used