aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command.go')
-rw-r--r--weed/shell/command.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/weed/shell/command.go b/weed/shell/command.go
index e1a820ff8..cfd994f3f 100644
--- a/weed/shell/command.go
+++ b/weed/shell/command.go
@@ -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"
+)