{"id":15620410,"url":"https://github.com/dbalatero/work-cli","last_synced_at":"2025-08-21T17:28:08.132Z","repository":{"id":66269284,"uuid":"554831364","full_name":"dbalatero/work-cli","owner":"dbalatero","description":"Awesome command line tools for managing the lifecycle of Github pull requests.","archived":false,"fork":false,"pushed_at":"2023-01-03T16:46:24.000Z","size":37,"stargazers_count":22,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-28T17:19:13.123Z","etag":null,"topics":["automation","cli","git","github","linear","pull-requests","toil-elimination","tooling"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbalatero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-20T13:23:45.000Z","updated_at":"2024-12-25T17:36:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"b41ae515-be45-4f83-83b5-de3aa4534241","html_url":"https://github.com/dbalatero/work-cli","commit_stats":{"total_commits":54,"total_committers":4,"mean_commits":13.5,"dds":0.4629629629629629,"last_synced_commit":"688efb85f0e35b475f83c8d80127a2db77869601"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbalatero%2Fwork-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbalatero%2Fwork-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbalatero%2Fwork-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbalatero%2Fwork-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbalatero","download_url":"https://codeload.github.com/dbalatero/work-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251352638,"owners_count":21575865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cli","git","github","linear","pull-requests","toil-elimination","tooling"],"created_at":"2024-10-03T09:01:20.576Z","updated_at":"2025-04-28T17:19:25.446Z","avatar_url":"https://github.com/dbalatero.png","language":"Shell","readme":"# work-cli\r\n\r\nAwesome command line tools for managing the lifecycle of Github pull requests.\r\n\r\n* Branch and open a beautiful draft PR by typing `work begin` from `main/master`\r\n* Fast switch between your open PRs with `work pr switch`\r\n* Open or focus your PR in the browser with `work pr show`\r\n* Ask for a review on Github with `work review alice`\r\n\r\nCurrently only works on macOS, but could be tweaked for Linux/Windows!\r\n\r\n\u003ctable\u003e\r\n\u003cthead\u003e\r\n\u003ctr\u003e\r\n\u003cth\u003eCreating a PR\u003c/th\u003e\r\n\u003cth\u003eResult\u003c/th\u003e\r\n\u003c/tr\u003e\r\n\u003c/thead\u003e\r\n\u003ctbody\u003e\r\n\u003ctr\u003e\r\n\u003ctd valign=\"top\" width=\"50%\"\u003e\r\n\r\n![image](https://user-images.githubusercontent.com/59429/197116597-fca93c73-e9e3-4e80-a524-9ab26297856c.png)\r\n\r\n\u003c/td\u003e\r\n\u003ctd valign=\"top\" width=\"50%\"\u003e\r\n\r\n![image](https://user-images.githubusercontent.com/59429/197116703-9291bd39-0a15-4040-b0a0-cb69127a850e.png)\r\n\r\n\u003c/td\u003e\r\n\u003c/tr\u003e\r\n\u003c/tbody\u003e\r\n\u003c/table\u003e\r\n\r\n```\r\n$ work -h\r\n\r\nRemove every day developer toil around Github, branches, and reviews.\r\n\r\nUSAGE\r\n  work \u003ccommand\u003e \u003csubcommand\u003e [flags]\r\n\r\nCORE COMMANDS\r\n  begin:   Create a new pull request off origin/main\r\n  pr:      Switch between and view your pull requests\r\n  review:  Quickly request a review and edit your PR description in one shot\r\n\r\nONBOARDING COMMANDS\r\n  setup:   One-time setup to install required dependencies\r\n\r\nFLAGS\r\n  -h    Show help for any command\r\n\r\nEXAMPLES\r\n  $ work begin              # create a new branch and open a draft PR\r\n  $ work review cindy       # request a review from @cindy on Github\r\n  $ work pr switch          # quick switch to another PR's branch\r\n  $ work pr show            # quick open your PR in Chrome\r\n\r\nLEARN MORE\r\n  Use 'work \u003ccommand\u003e \u003csubcommand\u003e -h' for more information about a command.\r\n```\r\n\r\n## Installation\r\n\r\n⏰ I'm busy, can I paste in 1 line of shell code?\r\n\r\n```bash\r\nbash \u003c(curl -s https://raw.githubusercontent.com/dbalatero/work-cli/main/bin/install)\r\n```\r\n\r\n🤓 I'm paranoid about running code directly from curl:\r\n\r\n```bash\r\ngit clone https://github.com/dbalatero/work-cli.git ~/.work-cli\r\n\r\ncd ~/.work-cli\r\nbin/install       # don't forget to audit the script, you nerd\r\n```\r\n\r\n### Additional setup/dependencies\r\n\r\n* `work` will always automatically install any dependencies it needs for you.\r\n* Occasionally you'll need to generate an API key (Github) - `work` will magically prompt you when it's time to do so.\r\n\r\nMy 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.\r\n\r\n## FAQ\r\n\r\n### I forget how to quit Vim, can I use VSCode to edit my PR descriptions?\r\n\r\nSure, why not. Just add this to your `bashrc/zshrc/whatever` file and reload\r\nyour shell:\r\n\r\n```bash\r\nexport EDITOR=\"code --wait\"\r\n```\r\n\r\n\u003c!-- edit --\u003e\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbalatero%2Fwork-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbalatero%2Fwork-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbalatero%2Fwork-cli/lists"}