mirror of https://github.com/kubernetes/kops.git
Merge pull request #1589 from kubernetes/revert-1580-issue-1550-better-desc
Revert "WIP: Improve command descriptions"
This commit is contained in:
commit
723f3bced4
|
@ -7,7 +7,7 @@ import (
|
|||
// createCmd represents the create command
|
||||
var createCmd = &cobra.Command{
|
||||
Use: "create",
|
||||
Short: "Create a resource by filename or stdin.",
|
||||
Short: "create resources",
|
||||
Long: `Create resources`,
|
||||
}
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
// deleteCmd represents the delete command
|
||||
var deleteCmd = &cobra.Command{
|
||||
Use: "delete",
|
||||
Short: "Delete clusters and other resources.",
|
||||
Long: `Delete resources, such as clusters, instance groups, and secrets.'`,
|
||||
Short: "delete clusters",
|
||||
Long: `Delete clusters`,
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -12,7 +12,7 @@ type DescribeCmd struct {
|
|||
var describeCmd = DescribeCmd{
|
||||
cobraCommand: &cobra.Command{
|
||||
Use: "describe",
|
||||
Short: "Get more information about cloud resources.",
|
||||
Short: "describe objects",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
// editCmd represents the edit command
|
||||
var editCmd = &cobra.Command{
|
||||
Use: "edit",
|
||||
Short: "Edit clusters and other resrouces.",
|
||||
Short: "edit items",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
// exportCmd represents the export command
|
||||
var exportCmd = &cobra.Command{
|
||||
Use: "export",
|
||||
Short: "Exports a kubecfg for target cluster.",
|
||||
Short: "export clusters/kubecfg",
|
||||
Long: `export clusters/kubecfg`,
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ var getCmd = GetCmd{
|
|||
cobraCommand: &cobra.Command{
|
||||
Use: "get",
|
||||
SuggestFor: []string{"list"},
|
||||
Short: "List all instances of a resource.",
|
||||
Short: "list or get objects",
|
||||
Long: `list or get objects`,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
// importCmd represents the import command
|
||||
var importCmd = &cobra.Command{
|
||||
Use: "import",
|
||||
Short: "Import existing resources into the state store.",
|
||||
Long: `Import existing resources, such as clusters into the state store.`,
|
||||
Short: "import clusters",
|
||||
Long: `import clusters`,
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -12,7 +12,7 @@ type RollingUpdateCmd struct {
|
|||
var rollingUpdateCommand = RollingUpdateCmd{
|
||||
cobraCommand: &cobra.Command{
|
||||
Use: "rolling-update",
|
||||
Short: "Initiate rolling updates on clusters.",
|
||||
Short: "rolling update clusters",
|
||||
Long: `rolling update clusters`,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
// secretsCmd represents the secrets command
|
||||
var secretsCmd = &cobra.Command{
|
||||
Use: "secrets",
|
||||
Short: "Manage secrets & keys.",
|
||||
Long: `Manage secrets & keys.`,
|
||||
Short: "Manage secrets & keys",
|
||||
Long: `Manage secrets & keys`,
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
// toolboxCmd represents the toolbox command
|
||||
var toolboxCmd = &cobra.Command{
|
||||
Use: "toolbox",
|
||||
Short: "Misc infrequently used commands.",
|
||||
Short: "Misc infrequently used commands",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
// updateCmd represents the create command
|
||||
var updateCmd = &cobra.Command{
|
||||
Use: "update",
|
||||
Short: "Creates or updates cloud resources to match cluster spec.",
|
||||
Short: "update clusters",
|
||||
Long: `Update clusters`,
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
// upgradeCmd represents the upgrade command
|
||||
var upgradeCmd = &cobra.Command{
|
||||
Use: "upgrade",
|
||||
Short: "Automates checking for and applying Kubernetes updates.",
|
||||
Short: "upgrade clusters",
|
||||
Long: `upgrade clusters`,
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ type VersionCmd struct {
|
|||
var versionCmd = VersionCmd{
|
||||
cobraCommand: &cobra.Command{
|
||||
Use: "version",
|
||||
Short: "Print the client version information.",
|
||||
Short: "Print the client version information",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue