MCPcopy Create free account
hub / github.com/nhost/nhost / commandCompose

Function commandCompose

cli/cmd/dev/compose.go:22–27  ·  view source on GitHub ↗
(ctx context.Context, cmd *cli.Command)

Source from the content-addressed store, hash-verified

20}
21
22func commandCompose(ctx context.Context, cmd *cli.Command) error {
23 ce := clienv.FromCLI(cmd)
24 dc := dockercompose.New(ce.Path.WorkingDir(), ce.Path.DockerCompose(), ce.ProjectName())
25
26 return dc.Wrapper(ctx, cmd.Args().Slice()...) //nolint:wrapcheck
27}

Callers

nothing calls this directly

Calls 6

FromCLIFunction · 0.92
NewFunction · 0.92
WorkingDirMethod · 0.80
DockerComposeMethod · 0.80
ProjectNameMethod · 0.80
WrapperMethod · 0.80

Tested by

no test coverage detected