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

Function makeCommand

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

Source from the content-addressed store, hash-verified

4710 });
4711
4712 function makeCommand(): string {
4713 const bin = path.join(tmpHome, 'node-versions', 'v22', 'installation', 'bin');
4714 fs.mkdirSync(bin, { recursive: true });
4715 const shim = path.join(tmpHome, 'npm-shim.js');
4716 fs.writeFileSync(shim, '#!/bin/sh\nexit 0\n', { mode: 0o755 });
4717 fs.symlinkSync(shim, path.join(bin, 'codegraph'));
4718 return bin;
4719 }
4720
4721 function installCommand(): string {
4722 getTarget('antigravity')!.install('global', { autoAllow: true });

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected