We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32ad008 commit 3c6e733Copy full SHA for 3c6e733
cmd/root.go
@@ -30,6 +30,10 @@ var rootCmd = &cobra.Command{
30
Use: "kmux",
31
Short: "Multiplexing kubectl common tasks across clusters",
32
PersistentPreRunE: func(cmd *cobra.Command, args []string) (err error) {
33
+ if cmd.Name() == "version" {
34
+ return
35
+ }
36
+
37
if parent := cmd.Parent(); parent != nil && parent.Name() == "completion" {
38
return
39
}
0 commit comments