From 39c0444fac9b46d0faa347b45df779b97019e5b6 Mon Sep 17 00:00:00 2001 From: Roberth Strand Date: Tue, 28 Mar 2023 11:07:45 +0200 Subject: [PATCH] feat: added british alias Added an alias for analyze with the British English variant analyse. Closes #93 Signed-off-by: Roberth Strand --- cmd/analyze/analyze.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/analyze/analyze.go b/cmd/analyze/analyze.go index d86694b743..d9607d4c90 100644 --- a/cmd/analyze/analyze.go +++ b/cmd/analyze/analyze.go @@ -26,10 +26,11 @@ var ( // AnalyzeCmd represents the problems command var AnalyzeCmd = &cobra.Command{ - Use: "analyze", - Short: "This command will find problems within your Kubernetes cluster", + Use: "analyze", + Aliases: []string{"analyse"}, + Short: "This command will find problems within your Kubernetes cluster", Long: `This command will find problems within your Kubernetes cluster and - provide you with a list of issues that need to be resolved`, + provide you with a list of issues that need to be resolved`, Run: func(cmd *cobra.Command, args []string) { // get backend from file