{"library":"mergify-cli","title":"Mergify CLI","description":"Mergify CLI is a command-line interface tool designed to automate the creation and management of stacked pull requests on GitHub. It also handles CI results upload and integrates with various GitHub workflows. The library maintains a rapid release cadence, often daily or weekly, with frequent updates and new features, currently at version 2026.4.14.1.","language":"python","status":"active","last_verified":"Fri Apr 17","install":{"commands":["pip install mergify-cli"],"cli":{"name":"mergify-cli","version":"sh: 1: mergify-cli: not found"}},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# 1. Install mergify-cli\npip install mergify-cli\n\n# 2. Set up your GitHub token (replaces MERGIFY_TOKEN with your actual token)\n#    or run `mergify setup` for interactive configuration.\nexport MERGIFY_TOKEN=\"ghp_YOUR_GITHUB_TOKEN\"\n\n# 3. Initialize Mergify CLI in your Git repository\n#    This will guide you through connecting to GitHub.\nmergify setup\n\n# 4. Create and push a stacked pull request\n#    (Assuming you have local commits on a feature branch)\nmergify stack push\n\n# 5. Check the status of your current stack\nmergify stack status\n\n# 6. Checkout a specific stack by name\n# mergify stack checkout my-feature-stack","lang":"bash","description":"The Mergify CLI is primarily used as a command-line tool. The quickstart guides you through installation, initial setup (including GitHub token configuration), and common `stack` commands like `push` and `status`. Run `mergify setup` interactively for the easiest initial configuration.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}