Add permission-aware help surface
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user