This commit is contained in:
chrislu
2024-09-29 10:35:53 -07:00
parent 701abbb9df
commit 9cd263b2ce
2 changed files with 14 additions and 12 deletions

14
weed/shell/command.go Normal file
View File

@@ -0,0 +1,14 @@
package shell
import "io"
type command interface {
Name() string
Help() string
Do([]string, *CommandEnv, io.Writer) error
IsResourceHeavy() bool
}
var (
Commands = []command{}
)