You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`-c`, `--config``PATH`| Path to the configuration file. |
16
-
|`--debug`| Activates debug output for detailed logging. |
16
+
|`--debug`| Activates debug output for detailed logging. Can also be set with the environment variable `VIMBIN_DEBUG`|
17
17
|`-t`, `--token``TOKEN`| Token to use for authentication. If not set, a random token will be generated. Can also be set with the environment variable `VIMBIN_TOKEN`|
18
-
|`--trace`| Enables trace mode. This will show the content in the logs! |
18
+
|`--trace`| Enables trace mode. This will show the content in the logs! Can also be set with the environment variable `VIMBIN_TRACE`|
// Define command-line flags for the serve command
75
71
serveCmd.PersistentFlags().StringVarP(&config.App.Server.Web.Address, "listen-address", "a", ":8080", "The address to listen on for HTTP requests.")
76
72
77
-
serveCmd.PersistentFlags().StringVarP(&config.App.Server.Web.Theme, "theme", "", "auto", fmt.Sprintf("The theme to use. Can be %s.", strings.Join(supportedThemes, "|")))
73
+
serveCmd.PersistentFlags().StringVarP(&config.App.Server.Web.Theme, "theme", "", "auto", fmt.Sprintf("The theme to use. Can be %s.", config.SupportedThemes))
serveCmd.PersistentFlags().StringVarP(&config.App.Storage.Directory, "directory", "d", "$(pwd)", "The path to the storage directory. Defaults to the current working directory.")
0 commit comments