Skip to content

CLI Reference

Complete reference for the rai command-line interface. Commands are organized in workflow order — from project setup through release.

These options are available on all commands:

FlagShortDescription
--version-VShow version and exit
--format-fOutput format: human, json, or table
--verbose-vIncrease verbosity (-v, -vv, -vvv)
--quiet-qSuppress non-error output
--helpShow help and exit
GroupDescription
initInitialize a RaiSE project
sessionManage working sessions
graphBuild, query, and manage the knowledge graph
patternManage learned patterns
signalEmit lifecycle and telemetry signals
backlogManage backlog items via adapters
skillManage RaiSE skills and skill sets
discoverCodebase discovery and analysis
adapterInspect and validate adapters
mcpManage MCP servers
gateDiscover and run workflow gates
doctorDiagnose setup and auto-fix issues
docsPublish and retrieve documentation
artifactManage skill artifacts
releaseRelease management
infoDisplay package information
profileView developer profile