pub type CliCallback = Option<unsafe extern "C" fn(cli: *mut Cli, args: *mut FuriString, context: *mut c_void)>;Expand description
Cli callback function pointer. Implement this interface and use add_cli_command
§Arguments
args- string with what was passed after commandcontext- pointer to whatever you gave us on cli_add_command
Aliased Type§
enum CliCallback {
None,
Some(unsafe extern "C" fn(_: *mut Cli, _: *mut FuriString, _: *mut c_void)),
}