Skip to content

Commit 2c20350

Browse files
committed
disable output styling to ease parsing
1 parent 8044fbb commit 2c20350

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/root.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"path/filepath"
77
"time"
88

9+
"github.com/pterm/pterm"
910
"github.com/spf13/cobra"
1011

1112
"github.com/spf13/viper"
@@ -30,6 +31,8 @@ func Execute() {
3031
}
3132

3233
func init() {
34+
pterm.DisableStyling()
35+
3336
cobra.OnInitialize(initConfig)
3437

3538
rootCmd.CompletionOptions.DisableDefaultCmd = true

0 commit comments

Comments
 (0)