mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
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.
1.6 KiB
1.6 KiB
title, summary, order, sources
| title | summary | order | sources | ||
|---|---|---|---|---|---|
| raea project | Make a project in the workspace, list them, or move one between inline and a repository of its own. | 24 |
|
A project is one piece of work in a workspace: its folder, brief.ts, media/ and out/. In the raea app it shows
as a channel. split turns an inline project into a repository of its own (a submodule) with its history, and
join brings it back.
raea project new spring-launch
raea project new big-shoot --storage submodule
raea project split spring-launch --remote [email protected]:acme/spring-launch.git
raea project join spring-launch
raea project --json
Usage
raea project new NAME [--storage inline|submodule] | raea project split NAME [--remote URL] | raea project join NAME | raea project [--json] (a project in the workspace: its folder, brief.ts, media/, out/; split and join keep its history)
Headless: it needs nothing running and opens no window. Takes up to 2 arguments besides its flags.
Flags
| Flag | Takes | What it does |
|---|---|---|
--json |
– | Print the workspace's projects as JSON: name, path and storage. |
--remote |
URL |
With split: the git remote the new repository pushes to. |
--storage |
inline|submodule |
With new: a folder in the workspace (inline) or a repository of its own (submodule); the workspace's layout decides by default. |