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

Method run

packages/cli/src/commands/init.ts:223–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 static args = zodToArgs(initInputs.pick({name: true}));
222
223 async run(): Promise<void> {
224 const {args, flags} = await this.parse(Init);
225
226 await initAdapter(process.cwd(), {...flags, ...args}, commandLogger(this), makeCLIPrompt());
227
228 this.log('Project successfully created!');
229 }
230}
231
232// Used when MCP doesn't support elicitInput

Callers

nothing calls this directly

Calls 4

commandLoggerFunction · 0.90
makeCLIPromptFunction · 0.90
initAdapterFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected