use ls command instead of list by default

This commit is contained in:
Pavel Sviderski
2024-10-31 18:35:12 +10:00
parent e6df331fb8
commit 61dc97228d
+2 -2
View File
@@ -8,8 +8,8 @@ import (
func NewListCommand() *cobra.Command {
var cluster string
cmd := &cobra.Command{
Use: "list",
Aliases: []string{"ls"},
Use: "ls",
Aliases: []string{"list"},
Short: "List machines in a cluster",
RunE: func(cmd *cobra.Command, args []string) error {
uncli := cmd.Context().Value("cli").(*cli.CLI)