@lifelinejs/lifeline
v0.1.0
Published
Command-line tool to manage Lifeline branches.
Readme
📦 Lifeline
Command-line tool to manage Lifeline branches.
🌟 Highlights
- One file describes every line: A single
SUPPORT.yamllists your release lines (3.x,2.x, …) and their stage, so the lifecycle lives in version control next to the code it describes. - Lifecycles are enforced: Lines only travel
indev->as->ls->el, andlifeline checkshows each branch and its lifecycle. - A status table you can read at a glance:
lifeline statusprints version, stage, branch, whether that branch really exists, the EOL date and the days remaining, or--jsonfor anything scripted. - Backports in one command:
lifeline backport <sha> --to v1.xcherry-picks a commit fromdevelonto a support branch and opens the pull request, with a[v1.x]-prefixed title and a body recording where the fix came from. Refuses lines in development or End of Life, and asks for--label securityor--label criticalbefore it touches Life Support.
ℹ️ Overview
Lifeline is a CLI to automate your git support branches. Instead of manually backporting or creating LTS branches, you can use Lifeline to do it in less than a second.
✍️ Authors
AI Disclosure: AI was used in the development of Lifeline.
- Main Developer: @kamixfox
🚀 Usage
Quickly set up Lifeline for your repository:
lifeline initAnd then verify it works:
lifeline status⬇️ Installation
Prerequisites: At least Node.js v22 (Download), and the gh CLI installed (Download).
Find bugs, or want to report a feature? Open an issue, and we'll get to fixing/adding it! If you'd rather implement them yourself, you can also open a pull request. People like you make small OSS projects like these thrive!
