Files
reverse-engineering-anything/src/cli/mcpDoctorOptions.ts
T
morluto b565f787cb refactor(cli/server): break remaining module-layer cycles (#14013)
* refactor(cli,server): break remaining module-layer cycles

* fix(ci): follow relocated CLI entry points

* refactor: remove retired internal reader exports
2026-11-23 00:58:01 -05:00

17 lines
560 B
TypeScript

import { z } from "zod";
import { CLI_DOCUMENT_OUTPUT_FORMATS } from "./cliOutput.js";
/** The options accepted by the production MCP doctor entry. */
export const MCP_DOCTOR_OPTIONS = z.object({
format: z
.enum(CLI_DOCUMENT_OUTPUT_FORMATS)
.optional()
.describe("Output format"),
json: z.boolean().optional().describe("Emit the report as JSON"),
fullOutput: z.boolean().optional().describe("Show the full output envelope"),
help: z.boolean().optional().describe("Show help"),
});
export const MCP_DOCTOR_ALIAS = { help: "h" } as const;