Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Evsyukov Denis <denis.evsyukov@flant.com>
  • Loading branch information
juev committed Sep 9, 2024
1 parent 7f0060d commit dd42b5f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ import (
)

type rootCommand struct {
viper *viper.Viper
cmd *cobra.Command

cmd *cobra.Command
cfg *config.Config
//
// exitCode int
}

var (
Expand All @@ -28,8 +24,7 @@ var (

func newRunCommand() *rootCommand {
c := &rootCommand{
viper: viper.New(),
cfg: config.NewDefault(),
cfg: config.NewDefault(),
}

// rootCmd represents the base command when called without any subcommands
Expand Down

0 comments on commit dd42b5f

Please sign in to comment.