Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.21 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.21 KB

Welcome to robotcat 👋

Version License: Apache--2.0

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

Install

npm i -g robotcat

# or use without installing

npx robotcat

🚀 Usage

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'

Show your support

Give a ⭐️ if this project helped you!