Skip to content

Commit 0c99c1e

Browse files
committed
Add alias for generate command
1 parent aa59de0 commit 0c99c1e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/generate.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import (
77
)
88

99
var generateCmd = &cobra.Command{
10-
Use: "generate",
11-
Short: "Generates tmuxp configs for various Kubernetes contexts",
10+
Use: "generate",
11+
Aliases: []string{"gen"},
12+
Short: "Generates tmuxp configs for various Kubernetes contexts",
1213
Run: func(cmd *cobra.Command, args []string) {
1314
fmt.Println("Generate")
1415
},

0 commit comments

Comments
 (0)