diff --git a/cmd/root.go b/cmd/root.go index f15934fad0..446250bee2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,9 +1,10 @@ package cmd import ( - "github.com/k8sgpt-ai/k8sgpt/cmd/generate" "os" + "github.com/k8sgpt-ai/k8sgpt/cmd/generate" + "github.com/fatih/color" "github.com/k8sgpt-ai/k8sgpt/cmd/analyze" "github.com/k8sgpt-ai/k8sgpt/cmd/auth" @@ -53,7 +54,7 @@ func init() { rootCmd.PersistentFlags().StringVar(&kubeconfig, "kubeconfig", "", "Path to a kubeconfig. Only required if out-of-cluster.") // Cobra also supports local flags, which will only run // when this action is called directly. - rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") + // rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") //Initialise the kubeconfig kubernetesClient, err := kubernetes.NewClient(masterURL, kubeconfig)