Skip to content

vixt / cli / previewCommand

previewCommand ​

const previewCommand: CommandDef<{ clear: { default: false; description: string; type: "boolean"; }; cors: { description: string; type: "boolean"; }; debug: { alias: string[]; default: false; description: string; type: "boolean"; }; force: { default: false; description: string; type: "boolean"; }; host: { description: string; type: "string"; }; logLevel: { alias: string[]; description: string; options: ("error" | "warn" | "info" | "silent")[]; type: "enum"; }; mode: { alias: string[]; description: string; type: "string"; }; open: { alias: string[]; default: false; description: string; type: "boolean"; }; port: { alias: string[]; description: string; type: "string"; }; root: { default: undefined; description: string; required: false; type: "positional"; }; strictPort: { description: string; type: "boolean"; }; }>