mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
feat: allow setting theme via cli (#2881)
This commit is contained in:
parent
da595326ee
commit
748af7172c
3 changed files with 5 additions and 0 deletions
|
|
@ -53,6 +53,8 @@ you want to change. Other options will remain unchanged.`,
|
|||
set.Branding.Name = mustGetString(flags, flag.Name)
|
||||
case "branding.color":
|
||||
set.Branding.Color = mustGetString(flags, flag.Name)
|
||||
case "branding.theme":
|
||||
set.Branding.Theme = mustGetString(flags, flag.Name)
|
||||
case "branding.disableExternal":
|
||||
set.Branding.DisableExternal = mustGetBool(flags, flag.Name)
|
||||
case "branding.disableUsedPercentage":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue