MCPcopy Create free account
hub / github.com/SethGammon/Citadel / usage

Function usage

scripts/route-preview.js:34–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 const value = argv[++index];
33 if (!value) throw new Error('--route requires a route such as /test-gen');
34 args.routeOverride = value;
35 }
36 else if (arg === '--help' || arg === '-h') args.help = true;
37 else if (arg === '--') {
38 args.input.push(...argv.slice(index + 1));
39 break;
40 }
41 else args.input.push(arg);
42 }
43
44 return {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected