From 6bb44ccaa71f11d6d6c20e0f8b96a9bb0949fb5f Mon Sep 17 00:00:00 2001 From: moualhi zine el abidine Date: Wed, 28 Aug 2024 12:56:25 +0100 Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=90=9B:=20fixed=20error=20logging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: moualhi zine el abidine --- cmd/root.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 4d60a46..9e4f59e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -19,10 +19,11 @@ var ( ) var rootCmd = &cobra.Command{ - Use: "goji", - Short: "Goji CLI", - Long: `Goji is a CLI tool to generate conventional commits with emojis`, - SilenceUsage: true, + Use: "goji", + Short: "Goji CLI", + Long: `Goji is a CLI tool to generate conventional commits with emojis`, + SilenceUsage: true, + SilenceErrors: true, RunE: func(cmd *cobra.Command, args []string) error { if versionFlag { color.Green("goji version: v%s", version)