Skip to content

CLI

Command What it does
rails-anything go [-- <start command>] Move the migration to its next stage and write rails/port/TASK.md
rails-anything status [<repo>] [--json] Where the migration stopped: stage, next step, open units (read-only; run it first in a new session)
rails-anything analyze <repo> Plan: routes, templates, functions in waves, dependencies, decisions
rails-anything bridge <repo> <unit> Ruby skeleton for one function in app/services
rails-anything record <repo> <unit> Record the original function on edge cases, --inputs, --from-tests -- <test cmd>, --pin-clock
rails-anything diff <repo> <unit> Replay the cases against the Ruby port (must be N/N)
rails-anything gate <repo> <unit> | --all | --app Done means gate passes
rails-anything rules <repo> [--add "<rule>"] Behavior you corrected, kept by every later piece
rails-anything drift <repo> Has the original changed since it was recorded?
rails-anything app record <repo> --http -- <start command> Record the whole original over HTTP (--effect-env, --db-dump for side effects)
rails-anything app record <repo> --cli --inputs cli.jsonl -- <command> Record a CLI tool
rails-anything app front-door <repo> Rails app that proxies routes not ported yet
rails-anything app wire <repo> <unit> --route "GET /path/:id" Hand a route to Rails (--command <name> for a CLI)
rails-anything app replay <repo> Replay every HTTP case through Rails (--original, --case)
rails-anything app status <repo> Fallback rate, wired routes, units done
rails-anything app lift <repo> Remove the proxy once nothing falls back
rails-anything setup | doctor | mcp Install for agents, check runtimes, MCP server
Edit this page on GitHub →