Skip to content

Commit 291cf7f

Browse files
committed
cmd: add alias desc
1 parent 8ae1fdc commit 291cf7f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

cmd/cli/describe.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ import (
1111

1212
// describeCmd represents the describe command
1313
var describeCmd = &cobra.Command{
14-
Use: "describe <resource-type> <name>",
15-
Short: "Show detailed information about a resource",
16-
Long: `Show detailed information about a CloudStack resource managed by cloudstackctl`,
14+
Use: "describe <resource-type> <name>",
15+
Aliases: []string{"desc"},
16+
Short: "Show detailed information about a resource",
17+
Long: `Show detailed information about a CloudStack resource managed by cloudstackctl`,
1718
Run: func(cmd *cobra.Command, args []string) {
1819
if len(args) < 2 {
1920
log.Fatal("Usage: cloudstackctl describe <resource-type> <name>")

0 commit comments

Comments
 (0)