From 52a742156e1cded02b8dedb23e2052bd720a3af5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 5 Feb 2018 21:06:04 -0800 Subject: [PATCH] Fix dead code and reenable envvar parsing. --- pixiecore/cli/cli.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pixiecore/cli/cli.go b/pixiecore/cli/cli.go index 4210cab..48ac756 100644 --- a/pixiecore/cli/cli.go +++ b/pixiecore/cli/cli.go @@ -39,6 +39,7 @@ func CLI() { return } + cobra.OnInitialize(initConfig) if err := rootCmd.Execute(); err != nil { fmt.Println(err) os.Exit(-1)