CLI Reference
The PRISM CLI provides commands for creating, validating, and scoring PRISM documents.
Installation
Commands
Core Commands
| Command | Description |
|---|---|
prism init |
Initialize a new PRISM document |
prism validate |
Validate a PRISM document |
prism score |
Calculate the PRISM score |
prism catalog |
List available constants |
Roadmap Commands (v0.2.0)
| Command | Description |
|---|---|
prism goal |
Manage and inspect goals |
prism phase |
Manage and inspect phases |
prism roadmap |
View roadmap overview |
prism initiative |
List and inspect initiatives |
Reporting Commands (v0.2.0)
| Command | Description |
|---|---|
prism report |
Generate roadmap reports (Markdown/JSON) |
prism slo-report |
Generate SLO compliance reports |
prism dashboard |
Generate executive dashboards |
prism dashforge |
Convert to dashforge format |
Organizational Commands (v0.3.0)
| Command | Description |
|---|---|
prism layer |
List and inspect value stream layers |
prism team |
List and inspect teams |
prism service |
List and inspect services |
Analysis & Export Commands (v0.3.0)
| Command | Description |
|---|---|
prism analyze |
Analyze document and generate recommendations |
prism export |
Export to OKR/V2MOM formats |
Global Flags
| Flag | Description |
|---|---|
--help, -h |
Show help for any command |
--version |
Show version information |
Usage
# Get help
prism --help
prism <command> --help
# Initialize a document
prism init -o prism.json
# Validate a document
prism validate prism.json
# Calculate score
prism score prism.json
# List constants
prism catalog
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Validation errors or general failure |
| 2 | File not found or I/O error |