seaweedfs/weed/shell/command.go
2024-09-29 10:35:53 -07:00

15 lines
186 B
Go

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