merge-ready-0.1.0 is not a library.
merge-ready
merge-ready is a Rust CLI that reports whether the pull request for your current branch is mergeable. It prints concise status tokens designed for shell prompt integration and automation scripts.
Install
For development builds:
Usage
Show top-level help:
Show merge status tokens for prompt integration:
Bypass cache and fetch fresh state:
Example output:
⚠ review
merge-ready prompt returns:
0when mergeable (✓ merge-ready)1when blocked (⚠ ...or✗ ...)2when state cannot be determined (? ...)
This makes it easy to use from shell scripts and prompt hooks.
Output Tokens
✓ merge-ready- ready to merge⚠ review- changes were requested in review⚠ ci-action- CI checks are still in progress✗ ci-fail- CI checks failed✗ conflict- merge conflicts exist✗ update-branch- branch is behind base branch? sync-unknown- branch sync status is unknown
Requirements
ghCLI installed and authenticated- Current git branch linked to an existing GitHub pull request
Features
- Minimal output focused on actionable blockers
- Prompt-friendly status token output
- Short-lived caching to reduce GitHub API calls