From 61dc97228d0c484b07b193fdeb52c294e05dcc99 Mon Sep 17 00:00:00 2001 From: Pavel Sviderski Date: Thu, 31 Oct 2024 18:35:12 +1000 Subject: [PATCH] use ls command instead of list by default --- cmd/uncloud/machine/list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/uncloud/machine/list.go b/cmd/uncloud/machine/list.go index 08a50111..e939a1ae 100644 --- a/cmd/uncloud/machine/list.go +++ b/cmd/uncloud/machine/list.go @@ -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)