fix command names
This commit is contained in:
parent
93dc966411
commit
9c65d7bac6
@ -42,7 +42,7 @@ func NewCmdClusterStart() *cobra.Command {
|
|||||||
|
|
||||||
// create new command
|
// create new command
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "cluster (NAME [NAME...] | --all)",
|
Use: "start (NAME [NAME...] | --all)",
|
||||||
Short: "Start existing k3d cluster(s)",
|
Short: "Start existing k3d cluster(s)",
|
||||||
Long: `Start existing k3d cluster(s)`,
|
Long: `Start existing k3d cluster(s)`,
|
||||||
ValidArgsFunction: util.ValidArgsAvailableClusters,
|
ValidArgsFunction: util.ValidArgsAvailableClusters,
|
||||||
|
@ -37,7 +37,7 @@ func NewCmdClusterStop() *cobra.Command {
|
|||||||
|
|
||||||
// create new command
|
// create new command
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "cluster (NAME [NAME...] | --all)",
|
Use: "stop (NAME [NAME...] | --all)",
|
||||||
Short: "Stop an existing k3d cluster",
|
Short: "Stop an existing k3d cluster",
|
||||||
Long: `Stop an existing k3d cluster.`,
|
Long: `Stop an existing k3d cluster.`,
|
||||||
ValidArgsFunction: util.ValidArgsAvailableClusters,
|
ValidArgsFunction: util.ValidArgsAvailableClusters,
|
||||||
|
@ -43,7 +43,7 @@ func NewCmdNodeList() *cobra.Command {
|
|||||||
// create new command
|
// create new command
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "list [NAME [NAME...]]",
|
Use: "list [NAME [NAME...]]",
|
||||||
Aliases: []string{"ls"},
|
Aliases: []string{"ls", "get"},
|
||||||
Short: "List node(s)",
|
Short: "List node(s)",
|
||||||
Long: `List node(s).`,
|
Long: `List node(s).`,
|
||||||
Args: cobra.MinimumNArgs(0), // 0 or more; 0 = all
|
Args: cobra.MinimumNArgs(0), // 0 or more; 0 = all
|
||||||
|
Loading…
Reference in New Issue
Block a user