A simple Github repository tool
- Search: Search and replace in a file and create a new branch
- Remove: Remove a branch from a repository
- Create PR: Create a PR from a branch
Basically allows you to script common operations across a lot of repositories without having to clone them locally
npm i -g robotcat
# or use without installing
npx robotcat
You will need a github personal access token
GITHUB_TOKEN=123 npx robotcat search -r owner/repo -f .buildkite/pipeline.yml -b master -m 'master - main' -b main -o master main
GITHUB_TOKEN=123 npx robotcat remove owner/repo master
GITHUB_TOKEN=123 npx robotcat pr owner/repo main -b develop -t 'merge main into develop'
Give a ⭐️ if this project helped you!