Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbalatero/work-cli
Awesome command line tools for managing the lifecycle of Github pull requests.
https://github.com/dbalatero/work-cli
automation cli git github linear pull-requests toil-elimination tooling
Last synced: 3 months ago
JSON representation
Awesome command line tools for managing the lifecycle of Github pull requests.
- Host: GitHub
- URL: https://github.com/dbalatero/work-cli
- Owner: dbalatero
- License: other
- Created: 2022-10-20T13:23:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-03T16:46:24.000Z (about 2 years ago)
- Last Synced: 2024-11-02T00:42:12.383Z (3 months ago)
- Topics: automation, cli, git, github, linear, pull-requests, toil-elimination, tooling
- Language: Shell
- Homepage:
- Size: 36.1 KB
- Stars: 20
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# work-cli
Awesome command line tools for managing the lifecycle of Github pull requests.
* Branch and open a beautiful draft PR by typing `work begin` from `main/master`
* Fast switch between your open PRs with `work pr switch`
* Open or focus your PR in the browser with `work pr show`
* Ask for a review on Github with `work review alice`Currently only works on macOS, but could be tweaked for Linux/Windows!
Creating a PR
Result![image](https://user-images.githubusercontent.com/59429/197116597-fca93c73-e9e3-4e80-a524-9ab26297856c.png)
![image](https://user-images.githubusercontent.com/59429/197116703-9291bd39-0a15-4040-b0a0-cb69127a850e.png)
```
$ work -hRemove every day developer toil around Github, branches, and reviews.
USAGE
work [flags]CORE COMMANDS
begin: Create a new pull request off origin/main
pr: Switch between and view your pull requests
review: Quickly request a review and edit your PR description in one shotONBOARDING COMMANDS
setup: One-time setup to install required dependenciesFLAGS
-h Show help for any commandEXAMPLES
$ work begin # create a new branch and open a draft PR
$ work review cindy # request a review from @cindy on Github
$ work pr switch # quick switch to another PR's branch
$ work pr show # quick open your PR in ChromeLEARN MORE
Use 'work -h' for more information about a command.
```## Installation
⏰ I'm busy, can I paste in 1 line of shell code?
```bash
bash <(curl -s https://raw.githubusercontent.com/dbalatero/work-cli/main/bin/install)
```🤓 I'm paranoid about running code directly from curl:
```bash
git clone https://github.com/dbalatero/work-cli.git ~/.work-clicd ~/.work-cli
bin/install # don't forget to audit the script, you nerd
```### Additional setup/dependencies
* `work` will always automatically install any dependencies it needs for you.
* Occasionally you'll need to generate an API key (Github) - `work` will magically prompt you when it's time to do so.My philosophy is that READMEs are bad, only 20% of people read them, and it's better if software just does everything for you, at the exact moment you need it.
## FAQ
### I forget how to quit Vim, can I use VSCode to edit my PR descriptions?
Sure, why not. Just add this to your `bashrc/zshrc/whatever` file and reload
your shell:```bash
export EDITOR="code --wait"
```