MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / makeCommand

Function makeCommand

__tests__/installer-targets.test.ts:4881–4888  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4879 });
4880
4881 function makeCommand(): string {
4882 const bin = path.join(tmpHome, 'node-versions', 'v22', 'installation', 'bin');
4883 fs.mkdirSync(bin, { recursive: true });
4884 const shim = path.join(tmpHome, 'npm-shim.js');
4885 fs.writeFileSync(shim, '#!/bin/sh\nexit 0\n', { mode: 0o755 });
4886 fs.symlinkSync(shim, path.join(bin, 'codegraph'));
4887 return bin;
4888 }
4889
4890 function installCommand(): string {
4891 getTarget('antigravity')!.install('global', { autoAllow: true });

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected