ledo/app/cmd/docker/pull.go

21 lines
416 B
Go
Raw Normal View History

2021-10-21 00:51:32 +00:00
package docker
import (
"github.com/urfave/cli/v2"
"ledo/app/modules/compose"
"ledo/app/modules/context"
)
var CmdComposePull = cli.Command{
Name: "pull",
Usage: "docker image pull",
Description: `Pull docker image from registry server`,
Action: RunComposePull,
}
func RunComposePull(cmd *cli.Context) error {
ctx := context.InitCommand(cmd)
compose.ExecComposerPull(ctx)
return nil
}