MCPcopy
hub / github.com/qawolf/cli / handleInstall

Function handleInstall

src/commands/install/all.ts:101–115  ·  view source on GitHub ↗
(
  ctx: CommandContext,
  pattern: string | undefined,
)

Source from the content-addressed store, hash-verified

99}
100
101export async function handleInstall(
102 ctx: CommandContext,
103 pattern: string | undefined,
104): Promise<CommandResult> {
105 const { fs } = ctx;
106 return installAll(ctx, pattern, {
107 cwd: process.cwd(),
108 expandPatterns: (patterns, cwd) =>
109 defaultExpandPatterns(patterns, cwd ?? process.cwd(), undefined, fs),
110 peekFlowMeta: makePeekFlowMeta(fs),
111 resolveDepsRoot: (files) => resolveDepsRoot({ files, fs }),
112 installBrowsers: handleInstallBrowsers,
113 installAndroid: handleInstallAndroid,
114 });
115}

Callers 1

registerInstallCommandFunction · 0.85

Calls 3

installAllFunction · 0.85
makePeekFlowMetaFunction · 0.85
resolveDepsRootFunction · 0.85

Tested by

no test coverage detected