docs: add CLI usage and integrate generation in release
This commit is contained in:
36
www/docs/cli/filebrowser-config-import.md
Normal file
36
www/docs/cli/filebrowser-config-import.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# filebrowser config import
|
||||
|
||||
Import a configuration file
|
||||
|
||||
## Synopsis
|
||||
|
||||
Import a configuration file. This will replace all the existing
|
||||
configuration. Can be used with or without unexisting databases.
|
||||
|
||||
If used with a nonexisting database, a key will be generated
|
||||
automatically. Otherwise the key will be kept the same as in the
|
||||
database.
|
||||
|
||||
The path must be for a json or yaml file.
|
||||
|
||||
```
|
||||
filebrowser config import <path> [flags]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
```
|
||||
-h, --help help for import
|
||||
```
|
||||
|
||||
## Options inherited from parent commands
|
||||
|
||||
```
|
||||
-c, --config string config file path
|
||||
-d, --database string database path (default "./filebrowser.db")
|
||||
```
|
||||
|
||||
## See Also
|
||||
|
||||
* [filebrowser config](filebrowser-config.md) - Configuration management utility
|
||||
|
||||
Reference in New Issue
Block a user