MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / arg

Function arg

graph-ui/tools/call-feedback-capture.mjs:28–33  ·  view source on GitHub ↗
(name, fallback)

Source from the content-addressed store, hash-verified

26
27const argv = process.argv.slice(2);
28const arg = (name, fallback) => {
29 const index = argv.indexOf(`--${name}`);
30 if (index < 0) return fallback;
31 const value = argv[index + 1];
32 return value === undefined || value.startsWith('--') ? true : value;
33};
34
35const ORIGIN = String(arg('origin', 'http://127.0.0.1:4350')).replace(/\/$/, '');
36const OUT = resolve(String(arg('out', 'verification/call-feedback-2026-10-02/ist')));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected