weed shell: adding file system disk usage fs.du

fix https://github.com/chrislusf/seaweedfs/issues/889

echo "fs.du http://localhost:8888/some/path" | weed shell
This commit is contained in:
Chris Lu
2019-03-19 21:58:00 -07:00
parent cea5c53bf7
commit f3d316a846
3 changed files with 139 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ type ShellOptions struct {
type commandEnv struct {
env map[string]string
masterClient *wdclient.MasterClient
option ShellOptions
}
type command interface {