CLI Reference
Complete reference for the rai command-line interface. Commands are organized in workflow order — from project setup through release.
Global Options
Section titled “Global Options”These options are available on all commands:
| Flag | Short | Description |
|---|---|---|
--version | -V | Show version and exit |
--format | -f | Output format: human, json, or table |
--verbose | -v | Increase verbosity (-v, -vv, -vvv) |
--quiet | -q | Suppress non-error output |
--help | Show help and exit |
Command Groups
Section titled “Command Groups”| Group | Description |
|---|---|
| init | Initialize a RaiSE project |
| session | Manage working sessions |
| graph | Build, query, and manage the knowledge graph |
| pattern | Manage learned patterns |
| signal | Emit lifecycle and telemetry signals |
| backlog | Manage backlog items via adapters |
| skill | Manage RaiSE skills and skill sets |
| discover | Codebase discovery and analysis |
| adapter | Inspect and validate adapters |
| mcp | Manage MCP servers |
| gate | Discover and run workflow gates |
| doctor | Diagnose setup and auto-fix issues |
| docs | Publish and retrieve documentation |
| artifact | Manage skill artifacts |
| release | Release management |
| info | Display package information |
| profile | View developer profile |