docs: add CLI usage and integrate generation in release
This commit is contained in:
34
www/docs/cli/filebrowser-users-import.md
Normal file
34
www/docs/cli/filebrowser-users-import.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# filebrowser users import
|
||||
|
||||
Import users from a file
|
||||
|
||||
## Synopsis
|
||||
|
||||
Import users from a file. The path must be for a json or yaml
|
||||
file. You can use this command to import new users to your
|
||||
installation. For that, just don't place their ID on the files
|
||||
list or set it to 0.
|
||||
|
||||
```
|
||||
filebrowser users import <path> [flags]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
```
|
||||
-h, --help help for import
|
||||
--overwrite overwrite users with the same id/username combo
|
||||
--replace replace the entire user base
|
||||
```
|
||||
|
||||
## Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config string config file path
|
||||
-d, --database string database path (default "./filebrowser.db")
|
||||
```
|
||||
|
||||
## See Also
|
||||
|
||||
* [filebrowser users](filebrowser-users.md) - Users management utility
|
||||
|
||||
Reference in New Issue
Block a user