Files

1.4 KiB
Raw Permalink Blame History

title, summary, order, sources
title summary order sources
raea part The old name of raea component: copy a ready-made component into the project's components/, to use and change as your own. 28
engine/cli/src/index.ts
engine/cli/src/registry.gen.ts

raea part is the old name of raea component, and still works the same. raea part list shows the ready-made components; raea part add copies one into components/NAME/, where it's yours: raea never updates or overwrites it unasked.

raea part list
raea part add captions end-card

Usage

raea component list | raea component add NAME ... [--shared] [--force] | raea part list | raea part add NAME ... [--shared] [--force]   (a ready component or set copied into components/, or the workspace's shared/components/ with --shared, yours to change; raea part is its old name)

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

Flags

Flag Takes What it does
--force – Replace a part's files that are already in components/. Without it, an existing part is left alone and the command stops.
--shared – Copy into the workspace's shared/components/ instead, where every project in the workspace imports it as /components/NAME.