English
commands
constcommands:object
Type Declaration
build
build:
CommandDef<{analyze: {description:string;type:"boolean"; };clear: {default:false;description:string;type:"boolean"; };debug: {alias:string[];default:false;description:string;type:"boolean"; };force: {default:false;description:string;type:"boolean"; };legacy: {description:string;type:"boolean"; };logLevel: {alias:string[];description:string;options: ("error"|"warn"|"info"|"silent")[];type:"enum"; };mode: {alias:string[];description:string;type:"string"; };root: {default:undefined;description:string;required:false;type:"positional"; }; }> =buildCommand
cleanup
cleanup:
CommandDef<{root: {default:undefined;description:string;required:false;type:"positional"; }; }> =cleanupCommand
dev
dev:
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"; };https: {description:string;type:"boolean"; };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"; }; }> =devCommand
prepare
prepare:
CommandDef<{clear: {default:false;description:string;type:"boolean"; };debug: {alias:string[];default:false;description:string;type:"boolean"; };force: {default:false;description:string;type:"boolean"; };logLevel: {alias:string[];description:string;options: ("error"|"warn"|"info"|"silent")[];type:"enum"; };mode: {alias:string[];description:string;type:"string"; };root: {default:undefined;description:string;required:false;type:"positional"; }; }> =prepareCommand
preview
preview:
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"; }; }> =previewCommand