pub unsafe extern "C" fn cli_registry_add_command_ex(
registry: *mut CliRegistry,
name: *const c_char,
flags: CliCommandFlag,
callback: CliCommandExecuteCallback,
context: *mut c_void,
stack_size: usize,
)Expand description
Registers a command with the registry. Provides more options than the
non-_ex counterpart.
ยงArguments
[in]- registry Pointer to registry instance[in]- name Command name[in]- flags see CliCommandFlag[in]- callback Callback function[in]- context Custom context[in]- stack_size Thread stack size