Type Definition flipperzero_sys::CliCallback

source ·
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 @param args string with what was passed after command @param context pointer to whatever you gave us on cli_add_command