add alias deploy for deployment

This commit is contained in:
lojies 2016-09-05 15:28:10 +08:00
parent 7f3ce7b320
commit 8d9b537ac1

View File

@ -40,7 +40,7 @@ var (
func NewCmdCreateDeployment(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "deployment NAME --image=image [--dry-run]",
Aliases: []string{"dep"},
Aliases: []string{"deploy"},
Short: "Create a deployment with the specified name.",
Long: deploymentLong,
Example: deploymentExample,