weed shell: add fs.tree

This commit is contained in:
Chris Lu
2019-03-28 00:05:04 -07:00
parent c7e7b6229f
commit 53b81fcfcd
2 changed files with 136 additions and 4 deletions

View File

@@ -24,11 +24,11 @@ func (c *commandFsLs) Name() string {
}
func (c *commandFsLs) Help() string {
return `[-l] [-a] list all files under a directory
return `list all files under a directory
fs.ls http://<filer_server>:<port>/dir/
fs.ls http://<filer_server>:<port>/dir/file_name
fs.ls http://<filer_server>:<port>/dir/file_prefix
fs.ls [-l] [-a] http://<filer_server>:<port>/dir/
fs.ls [-l] [-a] http://<filer_server>:<port>/dir/file_name
fs.ls [-l] [-a] http://<filer_server>:<port>/dir/file_prefix
`
}