MCPcopy Index your code
hub / github.com/github/copilot-sdk / parseSchemaArgs

Function parseSchemaArgs

scripts/codegen/rust.ts:2133–2148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2131// ── Main ────────────────────────────────────────────────────────────────────
2132
2133function parseSchemaArgs(): {
2134 sessionEventsSchemaPath?: string;
2135 apiSchemaPath?: string;
2136} {
2137 const [firstArg, secondArg] = process.argv.slice(2);
2138 if (secondArg) {
2139 return {
2140 sessionEventsSchemaPath: firstArg,
2141 apiSchemaPath: secondArg,
2142 };
2143 }
2144
2145 return {
2146 apiSchemaPath: firstArg,
2147 };
2148}
2149
2150async function generate(): Promise<void> {
2151 console.log("Loading schemas...");

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…