docs: add CLI usage and integrate generation in release
This commit is contained in:
34
www/docs/cli/filebrowser-rules.md
Normal file
34
www/docs/cli/filebrowser-rules.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# filebrowser rules
|
||||
|
||||
Rules management utility
|
||||
|
||||
## Synopsis
|
||||
|
||||
On each subcommand you'll have available at least two flags:
|
||||
"username" and "id". You must either set only one of them
|
||||
or none. If you set one of them, the command will apply to
|
||||
an user, otherwise it will be applied to the global set or
|
||||
rules.
|
||||
|
||||
## Options
|
||||
|
||||
```
|
||||
-h, --help help for rules
|
||||
-i, --id uint id of user to which the rules apply
|
||||
-u, --username string username of user to which the rules apply
|
||||
```
|
||||
|
||||
## Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config string config file path
|
||||
-d, --database string database path (default "./filebrowser.db")
|
||||
```
|
||||
|
||||
## See Also
|
||||
|
||||
* [filebrowser](filebrowser.md) - A stylish web-based file browser
|
||||
* [filebrowser rules add](filebrowser-rules-add.md) - Add a global rule or user rule
|
||||
* [filebrowser rules ls](filebrowser-rules-ls.md) - List global rules or user specific rules
|
||||
* [filebrowser rules rm](filebrowser-rules-rm.md) - Remove a global rule or user rule
|
||||
|
||||
Reference in New Issue
Block a user