CLI
CLI Installation
Install the prismrepo CLI from npm.
The prismrepo CLI (npm package @prismrepo/cli) is a devDependency-only, install-time tool.
It copies Prism's Layer 1 primitives and Layer 2 field components directly into your project;
it never becomes a runtime dependency of your shipped application.
Install
npm install -D @prismrepo/cliOnce installed, run the prismrepo command directly:
npx prismrepo --helpWithout installing first
npm exec --package @prismrepo/cli -- prismrepo initCommands
prismrepo init, set upprism.jsonand a starting registry.prismrepo list, see every installable item.prismrepo add <item...>, install primitives and field components.
See Generated Files for what each command actually writes, and
prismrepo --help for the full, current flag list.