shaperail-cli 0.3.0

CLI for Shaperail — shaperail init, generate, serve, build, migrate, and more
# shaperail-cli

The developer-facing CLI for [Shaperail](https://shaperail.io).

## Install

```bash
cargo install shaperail-cli
```

This installs the `shaperail` binary.

## Commands

```
shaperail init <name>          Scaffold a new Shaperail project
shaperail generate             Generate Rust code from resource YAML files
shaperail serve                Start dev server with hot reload
shaperail build                Build release binary
shaperail build --docker       Build scratch-based Docker image
shaperail validate             Validate all resource files
shaperail test                 Run generated + custom tests
shaperail migrate              Generate + apply SQL migrations
shaperail migrate --rollback   Rollback last migration batch
shaperail seed                 Load fixture YAML files into database
shaperail export openapi       Export OpenAPI 3.1 spec
shaperail export sdk --lang ts Generate TypeScript client SDK
shaperail doctor               Check system dependencies
shaperail routes               Print all routes with auth requirements
shaperail jobs:status          Show job queue depth and recent failures
```

## Quick Start

```bash
shaperail init my-app
cd my-app
docker compose up -d
shaperail generate
shaperail migrate
shaperail serve
```

## License

Dual-licensed under [MIT](../LICENSE-MIT) or [Apache-2.0](../LICENSE-APACHE).