@ciderpress/cli
v1.0.0-rc.8
Published
CLI for building and serving ciderpress documentation sites
Maintainers
Readme
@ciderpress/cli
The ciderpress CLI — sync, dev, build, and serve commands. Part of ciderpress, the docs framework for monorepos.
Install
npm install @ciderpress/cliCommands
| Command | Description |
| ------- | ----------------------------------------------------- |
| dev | Run sync + watcher and start the Rspress dev server |
| build | Sync content, generate assets, and build the site |
| serve | Preview the built site |
| sync | Sync documentation content without building |
| clean | Remove build artifacts, synced content, and cache |
| check | Validate config and check for broken links |
| diff | Show changed files in watched source directories |
| dump | Resolve and print the full entry tree as JSON |
| draft | Scaffold a new documentation file from a template |
| setup | Initialize a ciderpress config in the current project |
Usage
npx ciderpress dev # start dev server
npx ciderpress build # production build
npx ciderpress serve # preview buildMost users should install
ciderpressinstead, which re-exports the CLI alongside config helpers.
