Command line
Review committed revisions with the mergeray CLI.
Installation
The package name and executable are both mergeray. Install the current release from npm.
Analysis requires a trusted service endpoint, repository enrollment, authorization to transfer source and your own CLI token from Manage → CLI tokens in the dashboard, supplied through MERGERAY_TOKEN. Do not substitute a GitHub token.
npm install --global mergeray
mergeray --versionPlain textRead-only
Core options
The CLI reads Git objects at immutable commits, not uncommitted working-tree edits.
| Option | Purpose |
|---|---|
--base <revision> | Required exact baseline commit or trusted local ref. |
--head <revision> | Raw Head commit or trusted local ref; defaults to HEAD. |
--repository <id> | Service-registered repository identity. |
--service <https-url> | Trusted, authorized service endpoint. |
--config <path> | Explicit declarative JSON policy. |
--json | Validated findings, source locations and coverage. |
Before submitting source
Source counts and frozen revision identifiers are printed before submission. This is informational: there is no confirmation prompt or dry-run mode. Transfer only authorized source to a trusted service.
The default service endpoint is https://source.mergeray.com.
Exit codes
0 Complete pass, or help/version
1 Proven gating failure
2 Inconclusive comparison
3 Input, auth, service or protocol failure
130 CancellationPlain textRead-only