This commit is contained in:
chrislu
2024-09-29 10:38:22 -07:00
parent 9cd263b2ce
commit ec30a504ba
73 changed files with 81 additions and 75 deletions

View File

@@ -6,9 +6,15 @@ type command interface {
Name() string
Help() string
Do([]string, *CommandEnv, io.Writer) error
IsResourceHeavy() bool
HasTag(tag CommandTag) bool
}
var (
Commands = []command{}
)
type CommandTag string
const (
ResourceHeavy CommandTag = "resourceHeavy"
)