mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
use ls command instead of list by default
This commit is contained in:
1 parent
e6df331fb8
commit
61dc97228d
1 file changed
+2
-2
@@ -8,8 +8,8 @@ import (
|
|||||||
func NewListCommand() *cobra.Command {
|
func NewListCommand() *cobra.Command {
|
||||||
var cluster string
|
var cluster string
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "list",
|
Use: "ls",
|
||||||
Aliases: []string{"ls"},
|
Aliases: []string{"list"},
|
||||||
Short: "List machines in a cluster",
|
Short: "List machines in a cluster",
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
uncli := cmd.Context().Value("cli").(*cli.CLI)
|
uncli := cmd.Context().Value("cli").(*cli.CLI)
|
||||||
|
|||||||
Reference in new issue
Block a user