Reference
/
CLI Reference
CLI Reference
Every rastack command, grouped by what it does.
The rastack CLI (also aliased ras) drives the whole pipeline — from compiling resources to running the engine, shipping to AWS, and the design studio. Check the installed version with rastack --version (or -v).
1
rastack
compile
[resourcesDir]
[outDir]
# TS → schema.rastack.json + openapi.json
2
rastack
check
# validate the resource graph (FKs, cycles)
3
rastack
list
# list resources and their fields
4
rastack
urls
# print the emitted API routes
1
rastack
generate
# OpenAPI → typed React hooks
2
rastack
generate
--schema-only
# regenerate types without the runtime
1
rastack
serve
[--warehouse
dir]
# run the Rust API
2
rastack
admin
[--warehouse
dir]
# run the admin site
3
rastack
wasm
# compile the API to WebAssembly (browser dev)
The DevOps surface is CLI-driven too: scaffold a repo, configure its serverless deployment, and run the pipeline — so a GitHub Actions step is a single line.
1
rastack
init
# template the base GitHub Actions + .rastack/deploy.json
2
rastack
deploy
[--print]
[--run]
# configure the deployment; print the stack launch command
3
rastack
ci
<check|build|deploy>
# run the CI pipeline (--plan prints every step)
1
rastack
tokens
[input]
[outDir]
# compile the design system
2
rastack
design
# local studio: showcase + inspect + edit tokens
3
rastack
scan
# CSV PII scan
4
rastack
seed
# seed an Iceberg warehouse
Build with AI
Every page is available as clean Markdown for LLMs and coding agents. Point one at the files below to build on top of React API Stack.
React API Stack · alpha · built to scale to millions