Skip to Content
Prism UI
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>]
FlagEffect
--forceRe-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]
FlagEffect
--forceOverwrite a file prismrepo can't prove is untouched.
--dry-runPreview every effect without writing or installing anything.
--no-installReport missing dependencies instead of installing them.

Catalog items: input, label, select, checkbox, text-field, number-field, select-field, checkbox-field, date-field.

list

prismrepo list

No flags. Read-only.

--help

prismrepo --help

Prints the current usage summary directly from the installed CLI, always authoritative over any cached documentation.

On this page