12#include "cli_config.h"
79#ifdef CLI_PLATFORM_SUPPORTS_EXT_CMDS
86void cli_registry_remove_external_commands(
CliRegistry* registry);
94void cli_registry_reload_external_commands(
Command metadata and helpers.
CliCommandFlag
Definition cli_command_min.h:13
void(* CliCommandExecuteCallback)(PipeSide *pipe, FuriString *args, void *context)
CLI command execution callback pointer.
Definition cli_command_min.h:48
void cli_registry_delete_command(CliRegistry *registry, const char *name)
Deletes a cli command.
Definition cli_registry.c:83
void cli_registry_add_command(CliRegistry *registry, const char *name, CliCommandFlag flags, CliCommandExecuteCallback callback, void *context)
Registers a command with the registry.
Definition cli_registry.c:34
CliRegistry * cli_registry_alloc(void)
Allocates a CliRegistry.
Definition cli_registry.c:13
void cli_registry_add_command_ex(CliRegistry *registry, const char *name, CliCommandFlag flags, CliCommandExecuteCallback callback, void *context, size_t stack_size)
Registers a command with the registry.
Definition cli_registry.c:44
void cli_registry_free(CliRegistry *registry)
Frees a CliRegistry.
Definition cli_registry.c:27
CliRegistry * cli_registry_alloc_clone(CliRegistry *source)
Allocates a CliRegistry that is a full copy of the provided one.
Definition cli_registry.c:20
Configuration for locating external commands.
Definition cli_command.h:29
Definition cli_registry.c:8