image
This commit is contained in:
@ -1,22 +0,0 @@
|
||||
package docker
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/urfave/cli/v2"
|
||||
"ledo/app/modules/compose"
|
||||
"ledo/app/modules/context"
|
||||
)
|
||||
|
||||
var CmdDockerFqn = cli.Command{
|
||||
Name: "fqn",
|
||||
Aliases: []string{"f"},
|
||||
Usage: "Docker image fqn",
|
||||
Description: `Get fqn docker image defined as main service in config file`,
|
||||
Action: RunDockerFqn,
|
||||
}
|
||||
|
||||
func RunDockerFqn(cmd *cli.Context) error {
|
||||
ctx := context.InitCommand(cmd)
|
||||
fmt.Printf("%v", compose.ShowDockerImageFQN(ctx))
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user