(ctx context.Context, cmd *cli.Command)
| 20 | } |
| 21 | |
| 22 | func commandLogs(ctx context.Context, cmd *cli.Command) error { |
| 23 | ce := clienv.FromCLI(cmd) |
| 24 | |
| 25 | dc := dockercompose.New(ce.Path.WorkingDir(), ce.Path.DockerCompose(), ce.ProjectName()) |
| 26 | |
| 27 | if err := dc.Logs(ctx, cmd.Args().Slice()...); err != nil { |
| 28 | ce.Warnln("%s", err) |
| 29 | } |
| 30 | |
| 31 | return nil |
| 32 | } |
nothing calls this directly
no test coverage detected