@apick/cli
v0.3.0
Published
CLI tool for APICK headless CMS — develop, build, start, migrate
Readme
@apick/cli
Command-line interface for APICK — a pure headless CMS built TypeScript-first.
Install
npm install @apick/cliCommands
| Command | Description |
|---------|-------------|
| apick develop | Start development server with auto-reload and schema sync |
| apick start | Start production server (NODE_ENV=production) |
| apick build | Compile TypeScript for production |
| apick migration:run | Run pending database migrations |
| apick migration:rollback | Roll back the last migration batch |
| apick migration:status | Show migration status |
| apick migration:generate <name> | Generate a new migration file |
| apick console | Interactive REPL with apick object |
| apick version | Print APICK version |
Usage
From within an APICK project:
npx apick developOr during development from the monorepo:
npx tsx packages/cli/src/bin.ts develop --dir examples/starterRelated Packages
@apick/core-- Framework kernel (required)@apick/types-- Shared TypeScript type definitions@apick/utils-- Error classes, env helpers, utilities
