pub unsafe extern "C" fn cli_registry_add_command(
registry: *mut CliRegistry,
name: *const c_char,
flags: CliCommandFlag,
callback: CliCommandExecuteCallback,
context: *mut c_void,
)Expand description
Registers a command with the registry. Provides less options than the
_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