mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-06-28 15:41:13 +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{}
|
||
|
)
|