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

Function dockerPtyCLI

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

Source from the content-addressed store, hash-verified

317}
318
319export async function dockerPtyCLI(params: PartialPtyExecParameters | DockerResolverParameters | DockerCLIParameters, ...args: string[]) {
320 const partial = toPtyExecParameters(params);
321 return runCommand({
322 ...partial,
323 args: (partial.args || []).concat(args),
324 });
325}
326
327export async function dockerComposeCLI(params: DockerCLIParameters | PartialExecParameters | DockerResolverParameters, ...args: string[]) {
328 const partial = toExecParameters(params, 'dockerComposeCLI' in params ? await params.dockerComposeCLI() : undefined);

Callers 7

extendImageFunction · 0.90
getFeaturesBuildOptionsFunction · 0.90
updateRemoteUserUIDFunction · 0.90
buildAndExtendImageFunction · 0.90
spawnDevContainerFunction · 0.90
inspectDockerImageFunction · 0.90
doBuildFunction · 0.90

Calls 2

runCommandFunction · 0.90
toPtyExecParametersFunction · 0.85

Tested by

no test coverage detected