mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
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:
@@ -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 %}
|
||||
@@ -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 %}
|
||||
Reference in New Issue
Block a user