update readme

Former-commit-id: bd83c07ac6
This commit is contained in:
Henrique Dias 2017-02-07 20:53:23 +00:00
parent fe108f144a
commit c68c97f6f8

View File

@ -7,28 +7,4 @@
This package is a plugin for Caddy server that provides an online file manager (based on browse middleware) that is able to: rename files, delete files and upload files. Some new features that can be implemented in the future can be seen at [issues](https://github.com/hacdias/caddy-filemanager/issues).
### Syntax
```
filemanager url {
show path
webdav [path]
styles filepath
allow_new [true|false]
allow_edit [true|false]
allow_commands [true|false]
allow_command command
block_command command
before_save command
after_save command
allow [path|dotfiles]
allow_r path regex
block [path|dotfiles]
block_r path regex
}
```
## NOTE FOR DEVELOPERS
You need to run `go generate` on `$GOPATH/src/github.com/hacdias/caddy-filemanager` before building any binary. Otherwise, you will receive an `undefined: Asset` error.
For more information go to the [wiki](https://github.com/hacdias/caddy-filemanager/wiki).