Use default handling for CLI tools for parent tasks

This commit is contained in:
Justin Santa Barbara 2016-06-27 00:35:21 -04:00
parent b6cf38c96e
commit e1b4f0ffe4
5 changed files with 0 additions and 23 deletions

View File

@ -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")
},
},
}

View File

@ -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() {

View File

@ -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")
},
},
}

View File

@ -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() {

View File

@ -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() {