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",
|
||||
Short: "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
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -11,9 +9,6 @@ var deleteCmd = &cobra.Command{
|
|||
Use: "delete",
|
||||
Short: "delete clusters",
|
||||
Long: `Delete clusters`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Println("Usage: cluster")
|
||||
},
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -16,9 +14,6 @@ var rollingUpdateCommand = RollingUpdateCmd{
|
|||
Use: "rolling-update",
|
||||
Short: "rolling update clusters",
|
||||
Long: `rolling update clusters`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Println("Usage: cluster")
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -11,9 +9,6 @@ var secretsCmd = &cobra.Command{
|
|||
Use: "secrets",
|
||||
Short: "Manage secrets & keys",
|
||||
Long: `Manage secrets & keys`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Println("syntax: create describe expose get")
|
||||
},
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -11,9 +9,6 @@ var upgradeCmd = &cobra.Command{
|
|||
Use: "upgrade",
|
||||
Short: "upgrade clusters",
|
||||
Long: `upgrade clusters`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Println("Usage: cluster")
|
||||
},
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Reference in New Issue