I realized there is a lot of duplicate effort in managing both git and Linear issues.
So made a simple CLI that feels like git, but actually modifies the Linear Issues as well.
I have 3 use cases right now:
1. lit switch "description of issue"
- Runs a search through Linear for issues matching the description - If multiple hits, will ask to disambiguate - Assigns issue to you, marks as in progress
git checkout the branch name (creates it if it doesn't exist)
2. lit commit "commit message/issue comment"
- Figures out correct issue based on branch - leaves a comment on the issue - git commit -m
3. lit checkout "Issue Title" -d "Description of Issue" -t f - Parses arguments: title, description (optional), issye type [bug, feature, improvement] (optional) - Creates new Linear Issue - Generates the Linear automation friendly branch name (exactly how Linear does it in the UI) - Does git checkout -b LinearbranchName
Give it a go and let me know what you think! Also happy to publish to brew if there is enough interest.
Happy Building!