feat: Improve admin command reference generation

- Change xtasks to use `clap` for argument parsing
- Generate admin command reference manually instead of with `clap_markdown`
- Split admin command reference into multiple files
This commit is contained in:
Ginger
2026-01-09 17:05:34 -05:00
parent 60dd6baffd
commit 89be9d1efc
31 changed files with 1297 additions and 5822 deletions
+10
View File
@@ -0,0 +1,10 @@
# `!admin {{ name }}`
{{ description }}
{% for command in commands %}
{% let header = "#".repeat((command.depth + 1).min(3)) -%}
{{ header }} `!admin {{ command.name }}`
{{ command.description }}
{% endfor %}
+7
View File
@@ -0,0 +1,7 @@
# Admin Commands
These are all the admin commands. TODO fill me out
{%~ for category in categories %}
- [`!admin {{ category.name }}`]({{ category.name }}/) {{ category.description }}
{%- endfor %}