File tree Expand file tree Collapse file tree 14 files changed +67
-31
lines changed Expand file tree Collapse file tree 14 files changed +67
-31
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ import (
21
21
)
22
22
23
23
var alphaCmd = & cobra.Command {
24
- Use : "alpha" ,
25
- Short : "Commands for features in alpha" ,
26
- Long : `These commands correspond to alpha features in clusterctl.` ,
24
+ Use : "alpha" ,
25
+ GroupID : groupOther ,
26
+ Short : "Commands for features in alpha" ,
27
+ Long : `These commands correspond to alpha features in clusterctl.` ,
27
28
}
28
29
29
30
func init () {
Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ type backupOptions struct {
33
33
var buo = & backupOptions {}
34
34
35
35
var backupCmd = & cobra.Command {
36
- Use : "backup" ,
37
- Short : "Backup Cluster API objects and all dependencies from a management cluster" ,
36
+ Use : "backup" ,
37
+ GroupID : groupManagement ,
38
+ Short : "Backup Cluster API objects and all dependencies from a management cluster" ,
38
39
Long : LongDesc (`
39
40
Backup Cluster API objects and all dependencies from a management cluster.` ),
40
41
Original file line number Diff line number Diff line change 80
80
81
81
completionCmd = & cobra.Command {
82
82
Use : "completion [bash|zsh]" ,
83
+ GroupID : groupOther ,
83
84
Short : "Output shell completion code for the specified shell (bash or zsh)" ,
84
85
Long : LongDesc (completionLong ),
85
86
Example : completionExample ,
Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ import (
21
21
)
22
22
23
23
var configCmd = & cobra.Command {
24
- Use : "config" ,
25
- Short : "Display clusterctl configuration" ,
26
- Long : `Display clusterctl configuration.` ,
24
+ Use : "config" ,
25
+ GroupID : groupOther ,
26
+ Short : "Display clusterctl configuration" ,
27
+ Long : `Display clusterctl configuration.` ,
27
28
}
28
29
29
30
func init () {
Original file line number Diff line number Diff line change @@ -40,8 +40,9 @@ type deleteOptions struct {
40
40
var dd = & deleteOptions {}
41
41
42
42
var deleteCmd = & cobra.Command {
43
- Use : "delete [providers]" ,
44
- Short : "Delete one or more providers from the management cluster" ,
43
+ Use : "delete [providers]" ,
44
+ GroupID : groupManagement ,
45
+ Short : "Delete one or more providers from the management cluster" ,
45
46
Long : LongDesc (`
46
47
Delete one or more providers from the management cluster.` ),
47
48
Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ import (
21
21
)
22
22
23
23
var describeCmd = & cobra.Command {
24
- Use : "describe" ,
25
- Short : "Describe workload clusters" ,
26
- Long : `Describe the status of workload clusters.` ,
24
+ Use : "describe" ,
25
+ GroupID : groupDebug ,
26
+ Short : "Describe workload clusters" ,
27
+ Long : `Describe the status of workload clusters.` ,
27
28
}
28
29
29
30
func init () {
Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ import (
21
21
)
22
22
23
23
var generateCmd = & cobra.Command {
24
- Use : "generate" ,
25
- Short : "Generate yaml using clusterctl yaml processor" ,
26
- Long : `Generate yaml using clusterctl yaml processor.` ,
24
+ Use : "generate" ,
25
+ GroupID : groupManagement ,
26
+ Short : "Generate yaml using clusterctl yaml processor" ,
27
+ Long : `Generate yaml using clusterctl yaml processor.` ,
27
28
}
28
29
29
30
func init () {
Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ import (
21
21
)
22
22
23
23
var getCmd = & cobra.Command {
24
- Use : "get" ,
25
- Short : "Get info from a management or workload cluster" ,
26
- Long : `Get info from a management or workload cluster` ,
24
+ Use : "get" ,
25
+ GroupID : groupManagement ,
26
+ Short : "Get info from a management or workload cluster" ,
27
+ Long : `Get info from a management or workload cluster` ,
27
28
}
28
29
29
30
func init () {
Original file line number Diff line number Diff line change @@ -44,8 +44,9 @@ type initOptions struct {
44
44
var initOpts = & initOptions {}
45
45
46
46
var initCmd = & cobra.Command {
47
- Use : "init" ,
48
- Short : "Initialize a management cluster" ,
47
+ Use : "init" ,
48
+ GroupID : groupManagement ,
49
+ Short : "Initialize a management cluster" ,
49
50
Long : LongDesc (`
50
51
Initialize a management cluster.
51
52
Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ type moveOptions struct {
37
37
var mo = & moveOptions {}
38
38
39
39
var moveCmd = & cobra.Command {
40
- Use : "move" ,
41
- Short : "Move Cluster API objects and all dependencies between management clusters" ,
40
+ Use : "move" ,
41
+ GroupID : groupManagement ,
42
+ Short : "Move Cluster API objects and all dependencies between management clusters" ,
42
43
Long : LongDesc (`
43
44
Move Cluster API objects and all dependencies between management clusters.
44
45
You can’t perform that action at this time.
0 commit comments