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

Function arg

graph-ui/tools/call-feedback-acceptance.mjs:32–37  ·  view source on GitHub ↗
(name, fallback)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected