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