mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-22 19:19:18 -05: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