зеркало из 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",
|
||||
"bake",
|
||||
"build",
|
||||
"bundle",
|
||||
"ca",
|
||||
"commit",
|
||||
"completion",
|
||||
"config",
|
||||
"connect",
|
||||
"convert",
|
||||
|
@ -102,6 +104,7 @@ var commands = []string{
|
|||
"logout",
|
||||
"logs",
|
||||
"ls",
|
||||
"merge",
|
||||
"pause",
|
||||
"port",
|
||||
"promote",
|
||||
|
@ -111,6 +114,7 @@ var commands = []string{
|
|||
"push",
|
||||
"remove",
|
||||
"rename",
|
||||
"render",
|
||||
"restart",
|
||||
"revoke",
|
||||
"rm",
|
||||
|
@ -124,11 +128,14 @@ var commands = []string{
|
|||
"set",
|
||||
"show",
|
||||
"sign",
|
||||
"split",
|
||||
"start",
|
||||
"stats",
|
||||
"status",
|
||||
"stop",
|
||||
"tag",
|
||||
"top",
|
||||
"uninstall",
|
||||
"unlock",
|
||||
"unlock-key",
|
||||
"unpause",
|
||||
|
@ -136,6 +143,7 @@ var commands = []string{
|
|||
"update",
|
||||
"upgrade",
|
||||
"use",
|
||||
"validate",
|
||||
"version",
|
||||
"wait",
|
||||
}
|
||||
|
|
|
@ -25,9 +25,10 @@ import (
|
|||
"github.com/docker/compose/v2/pkg/utils"
|
||||
)
|
||||
|
||||
var managementCommands = []string{"ecs", "scan"}
|
||||
|
||||
var commands []string
|
||||
var (
|
||||
managementCommands = []string{"ecs", "scan"}
|
||||
commands = []string{"bundle", "completion", "install", "merge", "render", "split", "status", "uninstall", "validate"}
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("Walking through docker help to list commands...")
|
||||
|
|
Загрузка…
Ссылка в новой задаче