weed shell: add fs.cd, fs.pwd to change to a directory and print current directory

This commit is contained in:
Chris Lu committed 2019-04-03 00:20:00 -07:00
1 parent 20dcb44077
commit 715a38da1e
6 files changed
+189 -25

No files matched your search

+4
View File
@@ -31,6 +31,10 @@ func runShell(command *Command, args []string) bool {
weed_server.LoadConfiguration("security", false)
shellOptions.GrpcDialOption = security.LoadClientTLS(viper.Sub("grpc"), "client")
shellOptions.FilerHost = "localhost"
shellOptions.FilerPort = 8888
shellOptions.Directory = ""
shell.RunShell(shellOptions)
return true