What Framework CLI

JSON →
library 0.8.4 ·javascript
verified Jun 4, 2026

What Framework CLI (v0.8.4) is a zero-configuration command-line tool for What Framework projects, providing a development server with WebSocket-based HMR, production builds with content hashing and gzip, a preview server, and static site generation. It is actively maintained and supports commands like `what dev`, `what build`, `what preview`, and `what generate`. Key differentiators include file-based routing from `src/pages/`, bare import transforms, and a hybrid mode for flexible rendering. The CLI is designed to be used as a dev dependency and can be invoked directly via npx.