Add permission-aware help surface

This commit is contained in:
zhi
2026-03-21 14:37:42 +00:00
parent 25114aa17c
commit 69287d5a49
4 changed files with 218 additions and 147 deletions

View File

@@ -10,7 +10,7 @@ import (
type Command struct {
Name string
Description string
Permitted bool // whether the current user can execute this
Permitted bool // whether the current user can execute this
SubCommands []Command
}