feat: added british alias

Added an alias for analyze with the British English variant analyse.

Closes #93

Signed-off-by: Roberth Strand <me@robstr.dev>
This commit is contained in:
Roberth Strand 2023-03-28 11:07:45 +02:00
parent 0a0c88719e
commit 39c0444fac
No known key found for this signature in database
GPG Key ID: F2CB0321172E5237

View File

@ -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