{"repo":"duolingo/pulldozer","free":true,"listed":false,"github":"https://github.com/duolingo/pulldozer","clone":"git clone https://github.com/duolingo/pulldozer.git","description":"CLI tool for batch editing multiple repos :tractor:","language":"Shell","stars":56,"topics":["github","pr","cli","bash","git","codemod"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Pulldozer Pulldozer is a simple CLI tool for batch editing multiple GitHub repos. You give Pulldozer a transformation script and it spits out pull requests. Duolingo has used Pulldozer to create well over 9000 PRs to date! Usage Clone this repo onto any Unix machine that has curl and jq . Set your GITHUB TOKEN environment variable to an access token with repo scope and SSO enabled. To perform a batch edit (a.k.a. codemod ): 1. Create a script file that defines a COMMIT MESSAGE string, transform function, and REPOS list. Click here to see a Shell example By default, Pulldozer will interpret your script as POSIX shell. If you want to use Bash instead, just run bash ./pulldozer instead of ./pulldozer during step 2 below. Click here to see a JavaScript example Click here to see a Python example 1. Run ./pulldozer /path/to/your/script . Pulldozer will generate a preview diff and ask for confirmation before creating PRs. Demo video Duolingo is hiring! Apply at https://www.duolingo.com/careers","default_branch":null,"files":null,"tree":[],"storefront":"/r/duolingo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/duolingo/pulldozer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}