Reference
CLI Commands
Complete flag reference for init, add, and list.
Package: @prismrepo/cli. Executable: prismrepo. See CLI for the
full guide to each command.
init
prismrepo init [--force] [--alias <alias>] [--css <path>]| Flag | Effect |
|---|---|
--force | Re-initialize even if prism.json already exists. |
--alias <alias> | Import alias installed files use (default @/components/prism). |
--css <path> | Global CSS file to write Prism's tokens into. |
add
prismrepo add <item...> [--force] [--dry-run] [--no-install]| Flag | Effect |
|---|---|
--force | Overwrite a file prismrepo can't prove is untouched. |
--dry-run | Preview every effect without writing or installing anything. |
--no-install | Report missing dependencies instead of installing them. |
Catalog items: input, label, select, checkbox, text-field, number-field,
select-field, checkbox-field, date-field.
list
prismrepo listNo flags. Read-only.
--help
prismrepo --helpPrints the current usage summary directly from the installed CLI, always authoritative over any cached documentation.