1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
The developer-facing CLI for [Shaperail](https://shaperail.io).
```bash
cargo install shaperail-cli
```
This installs the `shaperail` binary.
```
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
```
```bash
shaperail init my-app
cd my-app
docker compose up -d
shaperail generate
shaperail migrate
shaperail serve
```
Dual-licensed under [MIT](../LICENSE-MIT) or [Apache-2.0](../LICENSE-APACHE).