Files
raea/docs/manual/reference/cli/workspace.md
T
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.9 KiB
Raw Blame History

title, summary, order, sources
title summary order sources
raea workspace Make, adopt or show a workspace: the git repository that holds a studio's projects and controllers. 23
apps/workspace/src/workspace.rs

A workspace is a git repository, one per studio or client, under your raea root (~/Studio unless git config raea.root says otherwise). It holds projects, controllers and the house taste in taste.ts. Every change raea makes in it is a commit.

raea workspace init acme                   # a new workspace, ~/Studio/acme
raea workspace adopt ~/clients/acme        # an existing folder made a workspace in place
raea workspace --json                      # the current workspace, its projects and their paths

adopt moves and deletes nothing: it makes the folder a git repository if it isn't one, and registers each folder holding a brief.ts as a project. raea workspace init inside a cloned workspace sets it up again on that machine.

Usage

raea workspace init [NAME] [--layout LAYOUT] | raea workspace adopt DIR [--name NAME] | raea workspace [--json]   (a workspace: a git repo of projects and controllers under raea.root, ~/Studio unless git config says)

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 as JSON: its name, layout, projects and their paths.
--layout LAYOUT How its projects are stored: monorepo (folders in the workspace's own history, the default) or submodules (each project a repository of its own).
--name NAME With adopt: the workspace's name, in place of the folder's.

See also