mirror of https://github.com/kubernetes/kops.git
Use default handling for CLI tools for parent tasks
This commit is contained in:
parent
b6cf38c96e
commit
e1b4f0ffe4
|
@ -23,9 +23,6 @@ var addonsCmd = AddonsCmd{
|
||||||
Use: "addons",
|
Use: "addons",
|
||||||
Short: "manage cluster addons",
|
Short: "manage cluster addons",
|
||||||
Long: `manage cluster addons`,
|
Long: `manage cluster addons`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
|
||||||
fmt.Println("Usage: addons get")
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,9 +9,6 @@ var deleteCmd = &cobra.Command{
|
||||||
Use: "delete",
|
Use: "delete",
|
||||||
Short: "delete clusters",
|
Short: "delete clusters",
|
||||||
Long: `Delete clusters`,
|
Long: `Delete clusters`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
|
||||||
fmt.Println("Usage: cluster")
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -16,9 +14,6 @@ var rollingUpdateCommand = RollingUpdateCmd{
|
||||||
Use: "rolling-update",
|
Use: "rolling-update",
|
||||||
Short: "rolling update clusters",
|
Short: "rolling update clusters",
|
||||||
Long: `rolling update clusters`,
|
Long: `rolling update clusters`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
|
||||||
fmt.Println("Usage: cluster")
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,9 +9,6 @@ var secretsCmd = &cobra.Command{
|
||||||
Use: "secrets",
|
Use: "secrets",
|
||||||
Short: "Manage secrets & keys",
|
Short: "Manage secrets & keys",
|
||||||
Long: `Manage secrets & keys`,
|
Long: `Manage secrets & keys`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
|
||||||
fmt.Println("syntax: create describe expose get")
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,9 +9,6 @@ var upgradeCmd = &cobra.Command{
|
||||||
Use: "upgrade",
|
Use: "upgrade",
|
||||||
Short: "upgrade clusters",
|
Short: "upgrade clusters",
|
||||||
Long: `upgrade clusters`,
|
Long: `upgrade clusters`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
|
||||||
fmt.Println("Usage: cluster")
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
Loading…
Reference in New Issue