()
| 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 | |
| 71 | export function registerBuildMCPTool(server: McpServer): RegisteredTool { |
nothing calls this directly
no test coverage detected