Files
raea/docs/manual/reference/cli/library.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 library Search and manage the person's media libraries in the raea app: folders and drives indexed on this machine, searched by meaning. 30
engine/cli/src/library.ts

Libraries are folders and drives the raea app indexes on this machine, so footage, stills and sounds can be found by what's in them rather than by file name. raea library talks to the app's host, so the app must be running. A folder an agent adds waits for the person to say yes in the app.

raea library search "a dog running on a beach" --kind video --limit 5
raea library search "a door creaking open" --sound
raea library new "Stock footage"
raea library add "Stock footage" /Volumes/Footage
raea library status

Usage

raea library [new NAME [--cloud] | add LIBRARY PATH | files LIBRARY | tag SHA TAGS | status | scan ...] | raea library search "WORDS" [--library LIBRARY] [--kind KIND] [--limit N] [--sound]   (the person's libraries in the raea app: folders and drives indexed on this machine, searched by meaning; a folder an agent adds waits for the person's yes)

Needs the raea app's host running on this machine; then waits for a person's click in the raea app (to add a folder). Takes any number of arguments besides its flags.

Flags

Flag Takes What it does
--cloud – With new: keep the library's index in raea cloud, searchable from the web and other devices (Pro), rather than on this Mac.
--kind KIND With search: only video, image or audio.
--library LIBRARY With search: search this library only.
--limit N With search: how many results (10 by default).
--sound – With search: rank by how things sound, for a described sound effect.