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

Method run

packages/cli/src/commands/build.ts:60–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 static args = zodToArgs(buildInputs.pick({location: true}));
59
60 async run(): Promise<void> {
61 const {args, flags} = await this.parse(Build);
62 try {
63 await buildAdapter(process.cwd(), {...args, ...flags}, commandLogger(this));
64 this.log('Project built successfully!');
65 } catch (e: any) {
66 this.error(e);
67 }
68 }
69}
70
71export function registerBuildMCPTool(server: McpServer): RegisteredTool {

Callers

nothing calls this directly

Calls 4

commandLoggerFunction · 0.90
buildAdapterFunction · 0.85
logMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected