Commit c8fe895d authored by lojies's avatar lojies

add alias svc for create_service.go

parent 63905492
...@@ -32,6 +32,7 @@ import ( ...@@ -32,6 +32,7 @@ import (
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",
Aliases: []string{"svc"},
Short: "Create a service using specified subcommand.", Short: "Create a service using specified subcommand.",
Long: "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) {
......
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