From 952eb4f4c8d3dfa4863e01a601d9dda665c1ba0f Mon Sep 17 00:00:00 2001 From: steven carpenter Date: Wed, 23 Jul 2025 22:25:38 -0400 Subject: [PATCH] updated root.go to add config support --- templates/cmd/root.go.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/cmd/root.go.tmpl b/templates/cmd/root.go.tmpl index d989af0..e357b20 100644 --- a/templates/cmd/root.go.tmpl +++ b/templates/cmd/root.go.tmpl @@ -5,6 +5,7 @@ import ( "github.com/spf13/cobra" "{{.ModName}}/tui" + "{{.ModName}}/config" "{{.ModName}}/internal/logger" ) @@ -20,6 +21,7 @@ var rootCmd = &cobra.Command{ } func Execute() { + config.Init() cobra.CheckErr(rootCmd.Execute()) }