Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit a4ae60a

Browse files
committed
recover missing commands for backward compatibility
Signed-off-by: CrazyMax <[email protected]>
1 parent 6fd9708 commit a4ae60a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

cli/metrics/commands.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ var commands = []string{
6363
"b",
6464
"bake",
6565
"build",
66+
"bundle",
6667
"ca",
6768
"commit",
69+
"completion",
6870
"config",
6971
"connect",
7072
"convert",
@@ -102,6 +104,7 @@ var commands = []string{
102104
"logout",
103105
"logs",
104106
"ls",
107+
"merge",
105108
"pause",
106109
"port",
107110
"promote",
@@ -111,6 +114,7 @@ var commands = []string{
111114
"push",
112115
"remove",
113116
"rename",
117+
"render",
114118
"restart",
115119
"revoke",
116120
"rm",
@@ -124,18 +128,22 @@ var commands = []string{
124128
"set",
125129
"show",
126130
"sign",
131+
"split",
127132
"start",
128133
"stats",
134+
"status",
129135
"stop",
130136
"tag",
131137
"top",
138+
"uninstall",
132139
"unlock",
133140
"unlock-key",
134141
"unpause",
135142
"up",
136143
"update",
137144
"upgrade",
138145
"use",
146+
"validate",
139147
"version",
140148
"wait",
141149
}

cli/metrics/generatecommands/main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ import (
2525
"github.com/docker/compose/v2/pkg/utils"
2626
)
2727

28-
var managementCommands = []string{"ecs", "scan"}
29-
30-
var commands []string
28+
var (
29+
managementCommands = []string{"ecs", "scan"}
30+
commands = []string{"bundle", "completion", "install", "merge", "render", "split", "status", "uninstall", "validate"}
31+
)
3132

3233
func main() {
3334
fmt.Println("Walking through docker help to list commands...")

0 commit comments

Comments
 (0)