docs: add CLI usage and integrate generation in release
This commit is contained in:
33
www/docs/cli/filebrowser-rules-add.md
Normal file
33
www/docs/cli/filebrowser-rules-add.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# filebrowser rules add
|
||||
|
||||
Add a global rule or user rule
|
||||
|
||||
## Synopsis
|
||||
|
||||
Add a global rule or user rule.
|
||||
|
||||
```
|
||||
filebrowser rules add <path|expression> [flags]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
```
|
||||
-a, --allow indicates this is an allow rule
|
||||
-h, --help help for add
|
||||
-r, --regex indicates this is a regex rule
|
||||
```
|
||||
|
||||
## Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config string config file path
|
||||
-d, --database string database path (default "./filebrowser.db")
|
||||
-i, --id uint id of user to which the rules apply
|
||||
-u, --username string username of user to which the rules apply
|
||||
```
|
||||
|
||||
## See Also
|
||||
|
||||
* [filebrowser rules](filebrowser-rules.md) - Rules management utility
|
||||
|
||||
Reference in New Issue
Block a user