Skip to content

Commit

Permalink
fix switch cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny0826 committed Nov 29, 2019
1 parent be1afcc commit 4c62e52
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cmd/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ import (
// switchCmd represents the switch command
var switchCmd = &cobra.Command{
Use: "switch",
Short: "Switch Kube Context interactively",
Long: `
# Select Kube Context
Short: "Switch Kube Context interactively.",
Example: `
# Switch Kube Context interactively
kubecm switch
`,
Long: `
Switch Kube Context interactively.
`,
Run: func(cmd *cobra.Command, args []string) {
config, err := LoadClientConfig(cfgFile)
Expand Down

0 comments on commit 4c62e52

Please sign in to comment.