mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
add alias svc for create_service.go
This commit is contained in:
parent
63905492f0
commit
c8fe895d5b
@ -31,9 +31,10 @@ import (
|
||||
// NewCmdCreateService is a macro command to create a new namespace
|
||||
func NewCmdCreateService(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "service",
|
||||
Short: "Create a service using specified subcommand.",
|
||||
Long: "Create a service using specified subcommand.",
|
||||
Use: "service",
|
||||
Aliases: []string{"svc"},
|
||||
Short: "Create a service using specified subcommand.",
|
||||
Long: "Create a service using specified subcommand.",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
cmd.Help()
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user