ledo/app/cmd/docker.go
2021-12-01 14:36:35 +01:00

31 lines
667 B
Go

package cmd
import (
"github.com/urfave/cli/v2"
"ledo/app/cmd/docker"
)
var CmdDocker = cli.Command{
Name: "docker",
Aliases: []string{"d"},
Category: catHelpers,
Usage: "docker helper",
Description: `Manage docker-compose in project`,
Subcommands: []*cli.Command{
&docker.CmdDockerPs,
&docker.CmdDockerUp,
&docker.CmdComposeBuild,
&docker.CmdComposeDebug,
&docker.CmdComposeDown,
&docker.CmdComposeLogs,
&docker.CmdComposeRestart,
&docker.CmdComposeRun,
&docker.CmdComposeShell,
&docker.CmdComposeStart,
&docker.CmdComposeUpOnce,
&docker.CmdComposePull,
&docker.CmdComposeStop,
&docker.CmdDockerLogin,
},
}