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

1019 B

title, summary, order, sources
title summary order sources
raea init Add a project's starting files where they're missing: edit.tsx, cuts.ts, components/ and AGENTS.md. 22
engine/cli/src/index.ts

raea init writes the files a project starts from, in the current folder, and only the ones that aren't there yet: edit.tsx (the composition), cuts.ts, components/ and AGENTS.md (what an agent working here should know). Running it again in a project that has them all says there's nothing to make. It never overwrites a file.

mkdir spring && cd spring && raea init

For a project inside a workspace, with its brief and folders, use raea project new.

Usage

raea init   (a project's files where they're missing: edit.tsx, cuts.ts, components/, AGENTS.md)

Headless: it needs nothing running and opens no window. Takes no arguments besides its flags.