feat: add plural alias of service command (#670)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
54168cef1c
commit
496bb83078
@ -21,9 +21,10 @@ import (
|
||||
|
||||
// serviceCmd represents the service command
|
||||
var serviceCmd = &cobra.Command{
|
||||
Use: "service [<id>]",
|
||||
Short: "Retrieve the state of a service (or all services)",
|
||||
Long: ``,
|
||||
Use: "service [<id>]",
|
||||
Aliases: []string{"services"},
|
||||
Short: "Retrieve the state of a service (or all services)",
|
||||
Long: ``,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
if len(args) > 1 {
|
||||
helpers.Should(cmd.Usage())
|
||||
|
Loading…
x
Reference in New Issue
Block a user