CLI Reference
Core Commands
Section titled “Core Commands”| Command | Description |
|---|---|
rtmx setup | Complete RTMX setup (config, RTM, agents, Makefile) |
rtmx init | Minimal setup (config and RTM database only) |
rtmx status | Show completion progress (-v, -vv, -vvv for detail) |
rtmx backlog | Show prioritized incomplete requirements |
rtmx health | Run integration health checks |
rtmx config | Show or validate configuration |
Dashboard Commands
Section titled “Dashboard Commands”| Command | Description |
|---|---|
rtmx serve | Start web dashboard with REST API |
rtmx tui | Launch interactive terminal dashboard |
Analysis Commands
Section titled “Analysis Commands”| Command | Description |
|---|---|
rtmx deps | Show dependency graph |
rtmx cycles | Detect circular dependencies |
rtmx reconcile | Check/fix dependency reciprocity |
rtmx analyze | Discover requirements from project artifacts |
rtmx diff | Compare RTM versions (for PRs) |
Integration Commands
Section titled “Integration Commands”| Command | Description |
|---|---|
rtmx from-tests | Scan tests for requirement markers |
rtmx bootstrap | Generate RTM from tests, GitHub, or Jira |
rtmx sync | Synchronize with GitHub Issues or Jira |
rtmx install | Install prompts into AI agent configs |
rtmx makefile | Generate Makefile targets |
rtmx mcp-server | Start MCP server for AI agent integration |
rtmx docs | Generate schema and config documentation |
Command Details
Section titled “Command Details”rtmx setup
Section titled “rtmx setup”Complete project setup with all RTMX features:
rtmx setup # Interactive setuprtmx setup --branch # Create git branch for reviewrtmx setup --pr # Create branch and open PRCreates:
rtmx.yamlconfigurationdocs/rtm_database.csvrequirements databasedocs/requirements/specification directory- Makefile targets
- AI agent configs (CLAUDE.md, .cursorrules)
rtmx status
Section titled “rtmx status”Show project progress:
rtmx status # Summary onlyrtmx status -v # Category breakdownrtmx status -vv # Requirement detailsrtmx status -vvv # Maximum detailrtmx backlog
Section titled “rtmx backlog”Show prioritized incomplete requirements:
rtmx backlog # All incompletertmx backlog --phase 1 # Filter by phasertmx backlog --blocked # Show only blocked itemsrtmx health
Section titled “rtmx health”Run integration health checks:
rtmx health # Standard outputrtmx health --format ci # CI-friendly outputrtmx health --fix # Auto-fix issues where possiblertmx deps
Section titled “rtmx deps”Analyze dependency relationships:
rtmx deps REQ-AUTH-001 # Show dependencies for a requirementrtmx deps --all # Show full dependency graphrtmx deps --critical-path # Show critical pathrtmx sync
Section titled “rtmx sync”Synchronize with external services:
rtmx sync github # Sync to GitHub Issuesrtmx sync jira # Sync to Jirartmx sync --dry-run # Preview changes without applyingrtmx serve
Section titled “rtmx serve”Start web dashboard with REST API:
rtmx serve # Start on localhost:8080rtmx serve --host 0.0.0.0 # Bind to all interfacesrtmx serve --port 3000 # Custom portrtmx serve --reload # Auto-reload on changesrtmx tui
Section titled “rtmx tui”Launch interactive terminal dashboard:
rtmx tui # Start interactive TUIRequires rtmx[tui] extra: pip install rtmx[tui]
rtmx mcp-server
Section titled “rtmx mcp-server”Start MCP server for AI agent integration (stdio transport):
rtmx mcp-server # Start on stdio (for MCP clients)rtmx mcp-server --daemon # Run as background daemonrtmx mcp-server --pidfile mcp.pid # Specify PID file for daemonThe MCP server uses JSON-RPC over stdin/stdout. Configure your MCP client (e.g., Claude Desktop) to launch it:
{ "mcpServers": { "rtmx": { "command": "rtmx", "args": ["mcp-server"] } }}rtmx docs
Section titled “rtmx docs”Generate documentation:
rtmx docs schema # Show schema documentationrtmx docs config # Show configuration documentationGlobal Options
Section titled “Global Options”| Option | Description |
|---|---|
--config PATH | Use specific config file |
--database PATH | Use specific RTM database |
--verbose, -v | Increase verbosity |
--quiet, -q | Decrease verbosity |
--help, -h | Show help message |
--version | Show version |