mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
- In the root command, all flags are now correctly available as environmental variables, except for `--config` flag. This was already supposed to be the case, but due to bugs in the implementation it didn't work properly. - All configuration options (unless I missed something) that are available as flags should now properly update the configuration when using the `config init` and `config set` commands. - Flag names are now consistently in the lowerCamelCase format. All flags that were in a different format have been updated in a backwards compatible way. For a transitionary period of at least 6 months, both will work: - `--dir-mode` --> `--dirMode` - `--hide-login-button` --> `--hideLoginButton` - `--create-user-dir` --> `--createUserDir` - `--minimum-password-length` --> `--minimumPasswordLength` - `--socket-perm` --> `--socketPerm` - `--disable-thumbnails` --> `--disableThumbnails` - `--disable-preview-resize` --> `--disablePreviewResize` - `--disable-exec` --> `--disableExec` - `--disable-type-detection-by-header` --> `--disableTypeDetectionByHeader` - `--img-processors` --> `--imageProcessors` - `--cache-dir` --> `--cacheDir` - `--token-expiration-time` --> `--tokenExpirationTime` - `--baseurl` --> `--baseURL` |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| cmd_test.go | ||
| cmds.go | ||
| cmds_add.go | ||
| cmds_ls.go | ||
| cmds_rm.go | ||
| config.go | ||
| config_cat.go | ||
| config_export.go | ||
| config_import.go | ||
| config_init.go | ||
| config_set.go | ||
| docs.go | ||
| hash.go | ||
| root.go | ||
| rule_rm.go | ||
| rules.go | ||
| rules_add.go | ||
| rules_ls.go | ||
| users.go | ||
| users_add.go | ||
| users_export.go | ||
| users_find.go | ||
| users_import.go | ||
| users_rm.go | ||
| users_update.go | ||
| utils.go | ||
| version.go | ||