ruah

CLI

Top-level CLI router for the ruah ecosystem. One install, every tool.

Overview

@ruah-dev/cli is the unified entry point for the ruah toolchain. Install one package and ruah <tool> routes to whatever is installed — or to a sibling checkout in this workspace.

pnpm add -g @ruah-dev/cli

Namespace Architecture

The CLI routes ruah <namespace> to each package's "ruah" field:

ruah                    ← top-level router
├── ruah guard|verify|opt|watch|eval|conv|orch
├── ruah task ...       ← shorthand for orch task
├── ruah workflow ...   ← shorthand for orch workflow
└── ruah doctor         ← repo / workspace health (runs before orch shortcuts)

Shorthand works because orch commands are used most frequently. You can always use the explicit namespace if you prefer clarity.

Command Reference

CommandDescription
ruah init [--force]Initialize .ruah/ in a git repo
ruah setup [--force]Register with AI agents
ruah task <subcommand>Task management (create, start, done, merge, list, cancel)
ruah workflow <subcommand>Workflow DAG execution (run, plan, explain, list)
ruah status [--json]Show orchestration dashboard
ruah doctor [--json]Validate repo health
ruah clean [--dry-run]Remove stale tasks
ruah configShow resolved configuration
ruah demo [--fast]Interactive walkthrough

Examples

# Explicit namespace
ruah orch task create api --files "src/api/**" --executor claude-code

# Shorthand (equivalent)
ruah task create api --files "src/api/**" --executor claude-code

# Conversion tools
ruah conv inspect petstore.yaml
ruah conv generate petstore.yaml --json

Configuration

The CLI reads configuration from .ruahrc or package.json#ruah:

.ruahrc
{
  "workspace": { "backend": "worktree" },
  "artifacts": { "capture": true },
  "compatibility": { "check": true },
  "defaults": { "executor": "claude-code" }
}

Requirements

  • Node.js >= 18.0.0
  • License: MIT

On this page