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

Function installCommand

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

Source from the content-addressed store, hash-verified

4719 }
4720
4721 function installCommand(): string {
4722 getTarget('antigravity')!.install('global', { autoAllow: true });
4723 const file = path.join(tmpHome, '.gemini', 'antigravity', 'mcp_config.json');
4724 return JSON.parse(fs.readFileSync(file, 'utf-8')).mcpServers.codegraph.command;
4725 }
4726
4727 it.runIf(process.platform === 'darwin')('keeps the saved command usable after the fnm shell symlink is removed', () => {
4728 const bin = makeCommand();

Callers 1

Calls 4

getTargetFunction · 0.90
parseMethod · 0.80
installMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected