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

Method run

packages/cli/src/commands/migrate.ts:138–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 static flags = zodToFlags(migrateSubgraphInputs);
137
138 async run(): Promise<void> {
139 const {flags} = await this.parse(MigrateSubgraph);
140
141 const {output} = await migrateSubgraphAdapter(process.cwd(), flags, commandLogger(this));
142
143 this.log(`Output migrated SubQuery project to ${output}`);
144 }
145}
146
147export function registerMigrateSubgraphMCPTool(server: McpServer): RegisteredTool {

Callers

nothing calls this directly

Calls 3

commandLoggerFunction · 0.90
migrateSubgraphAdapterFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected