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

Function installCommand

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

Source from the content-addressed store, hash-verified

4888 }
4889
4890 function installCommand(): string {
4891 getTarget('antigravity')!.install('global', { autoAllow: true });
4892 const file = path.join(tmpHome, '.gemini', 'antigravity', 'mcp_config.json');
4893 return JSON.parse(fs.readFileSync(file, 'utf-8')).mcpServers.codegraph.command;
4894 }
4895
4896 it.runIf(process.platform === 'darwin')('keeps the saved command usable after the fnm shell symlink is removed', () => {
4897 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