Commit 8d9b537a authored by lojies's avatar lojies

add alias deploy for deployment

parent 7f3ce7b3
...@@ -40,7 +40,7 @@ var ( ...@@ -40,7 +40,7 @@ var (
func NewCmdCreateDeployment(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command { func NewCmdCreateDeployment(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "deployment NAME --image=image [--dry-run]", Use: "deployment NAME --image=image [--dry-run]",
Aliases: []string{"dep"}, Aliases: []string{"deploy"},
Short: "Create a deployment with the specified name.", Short: "Create a deployment with the specified name.",
Long: deploymentLong, Long: deploymentLong,
Example: deploymentExample, Example: deploymentExample,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment