aboutsummaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 22:25:07 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 22:28:19 +0200
commit62504dda1527490cb49e56dd9840031479d258f0 (patch)
tree34d8ec924672bad497902d145e67999b6850a830 /src/commands.h
parent10e9e42bb6862a97539346c9d11c328fb73cfe2f (diff)
downloadbokf-62504dda1527490cb49e56dd9840031479d258f0.tar.gz
bokf-62504dda1527490cb49e56dd9840031479d258f0.zip
docs: generate the command catalogue from the command tables
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h1
1 files changed, 1 insertions, 0 deletions
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);