A small CLI to create pull requests linked to Linear in seconds.
Note
- Following the Conventional Commits specification.
- Only compatible with MacOS.
Run the following:
curl -o ghl -L https://github.com/colinlienard/ghl/releases/latest/download/ghl && chmod +x ghl && mv ghl ~/.local/bin/
You first need to create a new GitHub token here, and select the repo scope.
Then, run the following and paste your token. You can also set the default pull requests description:
ghl config
ghl pr
This will ask you the Linear git branch name of an issue, and the name of the pull request that will be created. Then it will:
- Create a new branch.
- Create an empty commit.
- Push to the remote repository.
- Create a pull request.
- Assign you the pull request.
Command | Description |
---|---|
init |
Create a new conventional commit, create a new branch, and push. |
commit , -c |
Create a new conventional commit. |
version , -v |
Display the current and the latest version. |
update , -up |
Update the binary to the latest version. |
MIT © Colin Lienard