Skip to content

CLI Commands

Screenbook provides a powerful CLI to manage your screen catalog.

Terminal window
npm install -D screenbook
# or
pnpm add -D screenbook

init

Initialize Screenbook in a project

generate

Auto-generate screen.meta.ts files from route files

build

Build screen metadata JSON from screen.meta.ts files

dev

Start the Screenbook development server

lint

Detect routes without screen.meta.ts files

impact

Analyze which screens depend on a specific API/service

pr-impact

Analyze impact of changed files in a PR

All commands support the following global options:

OptionDescription
--help, -hShow help information
--version, -vShow version number
--config, -cPath to config file