From 2c20350be46c262e5c146ff7e1559f5d9024e567 Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Fri, 26 Nov 2021 09:48:20 +0100 Subject: [PATCH] disable output styling to ease parsing --- cmd/root.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/root.go b/cmd/root.go index 3cee19d..c4e9537 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -6,6 +6,7 @@ import ( "path/filepath" "time" + "github.com/pterm/pterm" "github.com/spf13/cobra" "github.com/spf13/viper" @@ -30,6 +31,8 @@ func Execute() { } func init() { + pterm.DisableStyling() + cobra.OnInitialize(initConfig) rootCmd.CompletionOptions.DisableDefaultCmd = true