Github Collaborators CLI 🤖
A simple CLI made to easily manage your repository collaborators
Installation
yarn global add github-collaborators npm install -g github-collaborators
Set 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-collaborators
Then 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=octocatGITHUB_ACCESS_TOKEN=nBlHCGhHFo
That'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