npm.io
0.2.8 • Published 6 years agoCLI

robotcat

Licence
Apache-2.0
Version
0.2.8
Deps
3
Size
37 kB
Vulns
0
Weekly
0
Stars
1

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!