updated root.go to add config support
This commit is contained in:
parent
f0b5035232
commit
952eb4f4c8
1 changed files with 2 additions and 0 deletions
|
|
@ -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())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue