updated root.go to add config support

This commit is contained in:
steven carpenter 2025-07-23 22:25:38 -04:00
parent f0b5035232
commit 952eb4f4c8

View file

@ -5,6 +5,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"{{.ModName}}/tui" "{{.ModName}}/tui"
"{{.ModName}}/config"
"{{.ModName}}/internal/logger" "{{.ModName}}/internal/logger"
) )
@ -20,6 +21,7 @@ var rootCmd = &cobra.Command{
} }
func Execute() { func Execute() {
config.Init()
cobra.CheckErr(rootCmd.Execute()) cobra.CheckErr(rootCmd.Execute())
} }