mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 22:11:39 +02:00
refactor
This commit is contained in:
1 parent
701abbb9df
commit
9cd263b2ce
2 files changed
+14
-12
No files matched your search
@@ -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{}
|
||||
)
|
||||
Reference in new issue
Block a user