1.0.5 • Published 6 years ago
github-collaborators v1.0.5
Github Collaborators CLI 🤖
A simple CLI made to easily manage your repository collaborators
Installation
yarn global add github-collaborators
npm install -g github-collaboratorsSet up
In order to use the script you will need to get your github token
Once you have your access token create the script config file
touch ~/.github-collaboratorsThen open the file and paste this
GITHUB_USER=<your-username>
GITHUB_ACCESS_TOKEN=<your-token>Replace the <variable> with your credentials e.g.
GITHUB_USER=octocat
GITHUB_ACCESS_TOKEN=nBlHCGhHFoThat's it you're ready to run the script. Try listing the repo collaborators
github-collaborators ls <repo-name>Usage
Usage: github-collaborators [options] [command]
Options:
  -V, --version                 output the version number
  -h, --help                    output usage information
Commands:
  ls <repo>                     Lists repo collaborators
  add <collaborator> <repo>     Adds a collaborator to the repo
  remove <collaborator> <repo>  Removes a collaborator from the repo
  cancel <collaborator> <repo>  Cancels an invitation