Files
shinyobjectz 2881f190bb Docs: a page for every CLI verb and every SDK import path on raea.io/docs
The CLI reference is now 43 pages, one a verb, each with its forms, where it runs and what each of its 164 flags does,
under docs/manual/reference/cli. The forms and flags are generated from `raea help --json`; the prose and the flag
descriptions are written by hand, kept by the generator, and checked: a new flag without a description fails.

The SDK reference is 28 pages, one an import path, under docs/manual/reference/sdk: every export with its doc, its
signature, a component's props, a class's members, its Bevy type and the parity ports and examples that use it,
generated by the TypeScript compiler, with a hand-written introduction and a type-checked example on each page.
Where the SDK mirrors a Bevy type without a comment of its own, Bevy's own doc is shown, marked as Bevy's
(tools/manual-ref/bevy-docs.json). Doc comments added to the SDK exports that had none.

tools/manual-ref.sh gen|check runs both generators.
2026-11-08 19:43:15 -08:00

1.3 KiB

title, summary, order, sources
title summary order sources
raea spec Print a spec file's default export as JSON, checked against its schema: briefs, scripts, taste, plans and controllers. 26
engine/cli/src/spec.rs

raea's specs are TypeScript files whose default export is data: brief.ts, NAME.script.ts, taste.ts, plan.ts and controllers/ID.ts. raea spec evaluates one, checks it against its schema and prints it as JSON, so an agent can read a brief without running anything else, and a wrong field is caught before it matters.

raea spec brief.ts
raea spec launch.script.ts
raea spec notes.ts --as taste

Usage

raea spec FILE.ts [--as brief|script|taste|plan|controller]   (a spec's default export as JSON, checked against its schema: brief.ts, script.ts, taste.ts, plan.ts, controllers/ID.ts)

Headless: it needs nothing running and opens no window. Takes up to 1 argument besides its flags.

Flags

Flag Takes What it does
--as brief|script|taste|plan|controller Which schema to check it against. By default from the file's name (brief, script, plan, a controllers/ folder), and taste otherwise.