mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-19 06:53:32 +08:00
15 lines
186 B
Go
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{}
|
|
)
|