зеркало из https://github.com/docker/compose-cli.git
recover missing commands for backward compatibility
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
Родитель
6fd97089b8
Коммит
a4ae60a39d
|
@ -63,8 +63,10 @@ var commands = []string{
|
||||||
"b",
|
"b",
|
||||||
"bake",
|
"bake",
|
||||||
"build",
|
"build",
|
||||||
|
"bundle",
|
||||||
"ca",
|
"ca",
|
||||||
"commit",
|
"commit",
|
||||||
|
"completion",
|
||||||
"config",
|
"config",
|
||||||
"connect",
|
"connect",
|
||||||
"convert",
|
"convert",
|
||||||
|
@ -102,6 +104,7 @@ var commands = []string{
|
||||||
"logout",
|
"logout",
|
||||||
"logs",
|
"logs",
|
||||||
"ls",
|
"ls",
|
||||||
|
"merge",
|
||||||
"pause",
|
"pause",
|
||||||
"port",
|
"port",
|
||||||
"promote",
|
"promote",
|
||||||
|
@ -111,6 +114,7 @@ var commands = []string{
|
||||||
"push",
|
"push",
|
||||||
"remove",
|
"remove",
|
||||||
"rename",
|
"rename",
|
||||||
|
"render",
|
||||||
"restart",
|
"restart",
|
||||||
"revoke",
|
"revoke",
|
||||||
"rm",
|
"rm",
|
||||||
|
@ -124,11 +128,14 @@ var commands = []string{
|
||||||
"set",
|
"set",
|
||||||
"show",
|
"show",
|
||||||
"sign",
|
"sign",
|
||||||
|
"split",
|
||||||
"start",
|
"start",
|
||||||
"stats",
|
"stats",
|
||||||
|
"status",
|
||||||
"stop",
|
"stop",
|
||||||
"tag",
|
"tag",
|
||||||
"top",
|
"top",
|
||||||
|
"uninstall",
|
||||||
"unlock",
|
"unlock",
|
||||||
"unlock-key",
|
"unlock-key",
|
||||||
"unpause",
|
"unpause",
|
||||||
|
@ -136,6 +143,7 @@ var commands = []string{
|
||||||
"update",
|
"update",
|
||||||
"upgrade",
|
"upgrade",
|
||||||
"use",
|
"use",
|
||||||
|
"validate",
|
||||||
"version",
|
"version",
|
||||||
"wait",
|
"wait",
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,9 +25,10 @@ import (
|
||||||
"github.com/docker/compose/v2/pkg/utils"
|
"github.com/docker/compose/v2/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
var managementCommands = []string{"ecs", "scan"}
|
var (
|
||||||
|
managementCommands = []string{"ecs", "scan"}
|
||||||
var commands []string
|
commands = []string{"bundle", "completion", "install", "merge", "render", "split", "status", "uninstall", "validate"}
|
||||||
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println("Walking through docker help to list commands...")
|
fmt.Println("Walking through docker help to list commands...")
|
||||||
|
|
Загрузка…
Ссылка в новой задаче