MCPcopy
hub / github.com/subquery/subql / run

Method run

packages/cli/src/commands/codegen/index.ts:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 static args = zodToArgs(codegenInputs);
61
62 async run(): Promise<void> {
63 const {args} = await this.parse(Codegen);
64
65 try {
66 await codegenAdapter(process.cwd(), args, commandLogger(this));
67 } catch (err: any) {
68 this.error(`${err.message}, ${err.cause}`);
69 }
70 }
71}
72
73export function registerCodegenMCPTool(server: McpServer): RegisteredTool {

Callers

nothing calls this directly

Calls 3

commandLoggerFunction · 0.90
codegenAdapterFunction · 0.85
errorMethod · 0.45

Tested by

no test coverage detected