diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-20 22:25:07 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-20 22:28:19 +0200 |
| commit | 62504dda1527490cb49e56dd9840031479d258f0 (patch) | |
| tree | 34d8ec924672bad497902d145e67999b6850a830 /src/commands.h | |
| parent | 10e9e42bb6862a97539346c9d11c328fb73cfe2f (diff) | |
| download | bokf-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.h | 1 |
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); |
