#codegen #web-api #api-framework

app shaperail-cli

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

6 releases (breaking)

new 0.7.0 Mar 17, 2026
0.6.0 Mar 16, 2026
0.5.0 Mar 15, 2026
0.4.0 Mar 13, 2026
0.2.1 Mar 12, 2026

#2466 in HTTP server

MIT/Apache

1MB
25K SLoC

shaperail-cli

The developer-facing CLI for Shaperail.

Install

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

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

License

Dual-licensed under MIT or Apache-2.0.

Dependencies

~103MB
~2M SLoC