mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-14 03:04:16 -04:00
use ParseAppsFlag from Phoenix flagset to deal with the list of apps
This commit is contained in:
@@ -16,6 +16,10 @@ func PhoenixCommand(cfg *config.Config) cli.Command {
|
||||
Category: "Extensions",
|
||||
Flags: flagset.ServerWithConfig(cfg.Phoenix),
|
||||
Action: func(c *cli.Context) error {
|
||||
if c.String("web-config-apps") != "" {
|
||||
cfg.Phoenix.Phoenix.Config.Apps = flagset.ParseAppsFlag(c.String("web-config-apps"))
|
||||
}
|
||||
|
||||
scfg := configurePhoenix(cfg)
|
||||
|
||||
return cli.HandleAction(
|
||||
|
||||
Reference in New Issue
Block a user