Skip to content

Commit 1662d36

Browse files
Make ls an alias for list
1 parent 95a2ef8 commit 1662d36

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

internal/cmd/list.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ type listCommand struct {
1717
func newListCommand() *listCommand {
1818
listCommand := &listCommand{}
1919
listCommand.cmd = &cobra.Command{
20-
Use: "list",
21-
Short: "List the services currently running",
22-
RunE: listCommand.run,
23-
Args: cobra.NoArgs,
20+
Use: "list",
21+
Short: "List the services currently running",
22+
RunE: listCommand.run,
23+
Args: cobra.NoArgs,
24+
Aliases: []string{"ls"},
2425
}
2526

2627
return listCommand

0 commit comments

Comments
 (0)