From 62504dda1527490cb49e56dd9840031479d258f0 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 22:25:07 +0200 Subject: docs: generate the command catalogue from the command tables Co-Authored-By: Claude Opus 5 --- src/commands.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/commands.h') diff --git a/src/commands.h b/src/commands.h index e7e71f6..3bcd447 100644 --- a/src/commands.h +++ b/src/commands.h @@ -50,6 +50,7 @@ extern const size_t g_command_tables_count; int command_validate_args(const struct command *cmd, yyjson_val *args, char *err, size_t errlen); const struct command *command_find(const char *name); +yyjson_mut_val *commands_describe(yyjson_mut_doc *doc); const char *perm_name(enum cmd_perm p); const char *perm_scope(enum cmd_perm p); -- cgit v1.3