mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-19 12:34:29 +02:00
weed shell: add fs.cd, fs.pwd to change to a directory and print current directory
This commit is contained in:
1 parent
20dcb44077
commit
715a38da1e
6 files changed
+189
-25
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user