Commit c8fe895d authored by lojies's avatar lojies

add alias svc for create_service.go

parent 63905492
...@@ -31,9 +31,10 @@ import ( ...@@ -31,9 +31,10 @@ import (
// NewCmdCreateService is a macro command to create a new namespace // NewCmdCreateService is a macro command to create a new namespace
func NewCmdCreateService(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command { func NewCmdCreateService(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "service", Use: "service",
Short: "Create a service using specified subcommand.", Aliases: []string{"svc"},
Long: "Create a service using specified subcommand.", Short: "Create a service using specified subcommand.",
Long: "Create a service using specified subcommand.",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
cmd.Help() cmd.Help()
}, },
......
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