mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
use ls command instead of list by default
This commit is contained in:
@@ -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