CLI Reference
bash
reviewflow [command] [options]Commands
| Command | Description |
|---|---|
setup | Guided end-to-end setup: dependencies, Claude sign-in, daemon, project |
init | Interactive setup wizard, configuration only |
start | Start the review server (default command) |
stop | Stop the running daemon |
status | Show server status |
logs | Show daemon logs |
validate | Validate the configuration |
discover | Scan and add repositories to the existing configuration |
followup-importants | Trigger follow-ups for pending-approval MRs with Important issues |
version | Print the installed version |
session launch | end | sweep | await | Drive the role sessions of an orchestrated review; Reviewflow calls it itself |
Options
| Command | Option | Description |
|---|---|---|
setup | --path <dir> | Target project directory, defaults to the current one |
--json | JSON event stream on stdout, answers read from stdin | |
--force | Overwrite existing project files, backing up config.json | |
-y, --yes | Accept suggested defaults | |
--ai | AI-assisted fallback for ambiguous prompts | |
--show-secrets | Print full secret values | |
init | -y, --yes | Accept all defaults, non-interactive |
--skip-mcp | Skip MCP server configuration | |
--show-secrets | Display full webhook secrets | |
--scan-path <path> | Custom scan path, repeatable | |
start | -d, --daemon | Run as a background daemon |
-p, --port <port> | Server port, defaults to the configuration | |
-o, --open | Open the dashboard in the default browser | |
--skip-dependency-check | Skip external dependency checks | |
stop | -f, --force | SIGKILL instead of SIGTERM |
status | --json | Status as JSON |
logs | -f, --follow | Follow the log output |
-n, --lines <count> | Lines to show, default 20 | |
validate | --fix | Auto-fix correctable issues |
discover | --scan-path <path> | Custom scan path, repeatable |
--max-depth <n> | Max directory depth, default 3 | |
followup-importants | -p, --project <path> | Scan one project only |
-y, --yes | Skip the confirmation prompt | |
session launch | --role <role> | greffe, lot:bugs, lot:architecture, lot:lisibilite, lot:tests, contradiction or arbitre |
--brief <file> | File whose content is the role's prompt | |
--job <jobId> | Running review job the session belongs to | |
session sweep | --dry-run | Print what would be removed, remove nothing |
session await | --job <jobId> | Job whose role sessions to wait for |
--max-wait <seconds> | Return after this long; prints DONE, FAILED or TIMEOUT <role> <session id> per session | |
| any | -v, --version / -h, --help | Version / help |