Function cleo_redux_sdk::register_command
source · pub fn register_command(name: &str, cb: CustomCommand, permission: Option<&str>)
Expand description
Registers a new callback handler for the command with the given name. Permission token is required for unsafe operations interacting with the user environment (e.g. mem, fs, net)
since v1