Skip to content

Commit

Permalink
Merge pull request #151 from k8sgpt-ai/feat/rs-cleanup
Browse files Browse the repository at this point in the history
refactor: removed sample flag
  • Loading branch information
roberthstrand authored Mar 30, 2023
2 parents f95c1e1 + 0afd528 commit 5f54842
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5f54842

Please sign in to comment.