MCPcopy Index your code
hub / github.com/devcontainers/cli / dockerComposeCLI

Function dockerComposeCLI

src/spec-shutdown/dockerUtils.ts:327–333  ·  view source on GitHub ↗
(params: DockerCLIParameters | PartialExecParameters | DockerResolverParameters, ...args: string[])

Source from the content-addressed store, hash-verified

325}
326
327export async function dockerComposeCLI(params: DockerCLIParameters | PartialExecParameters | DockerResolverParameters, ...args: string[]) {
328 const partial = toExecParameters(params, 'dockerComposeCLI' in params ? await params.dockerComposeCLI() : undefined);
329 return runCommandNoPty({
330 ...partial,
331 args: (partial.args || []).concat(args),
332 });
333}
334
335export async function dockerComposePtyCLI(params: DockerCLIParameters | PartialPtyExecParameters | DockerResolverParameters, ...args: string[]) {
336 const partial = toPtyExecParameters(params, 'dockerComposeCLI' in params ? await params.dockerComposeCLI() : undefined);

Callers 4

startContainerFunction · 0.90
readDockerComposeConfigFunction · 0.90
dockerComposeCLIConfigFunction · 0.90

Calls 2

runCommandNoPtyFunction · 0.90
toExecParametersFunction · 0.85

Tested by

no test coverage detected