From 9b936b5271f09159db1bdf615c80a81c2bad930a Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Wed, 15 Jan 2020 11:27:35 +0100 Subject: [PATCH] use ParseAppsFlag from Phoenix flagset to deal with the list of apps --- pkg/command/phoenix.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/command/phoenix.go b/pkg/command/phoenix.go index 01a9149c30..4260845bef 100644 --- a/pkg/command/phoenix.go +++ b/pkg/command/phoenix.go @@ -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(