A cli to help invite and/or remove multiple collaborators from multiple GitHub repositories.
Invite user johndue to lucassabreu/gh-collab-manager and lucassabreu/clockify-cli.
gh-collab-manager --github-token <token> -a johndue \
-R lucassabreu/gh-collab-manager -R lucassabreu/clockify-cliRemove johndue from lucassabreu/gh-collab-manager.
gh-collab-manager --github-token <token> -R lucassabreu/gh-collab-manager -r johndueInvite octocat and github; also remove johndue from repositories lucassabreu/gh-collab-manager and lucassabreu/clockify-cli.
gh-collab-manager --github-token <token> \
-R lucassabreu/gh-collab-manager -R lucassabreu/clockify-cli \
-r johndue -a octocat -a githubgo install github.com/lucassabreu/gh-collab-managerGo to the releases page and download the pre-compiled binary that fits your system.
Add and remove users from repositories
Usage:
gh-collab-manager [flags]
Flags:
-a, --add stringArray handle of collaborators to invite to the repositories
--config string config file (default is $HOME/.gh-collab-manager.yaml)
-t, --github-token string github token to access the api (defaults to $GITHUB_TOKEN)
-h, --help help for gh-collab-manager
-r, --remove stringArray handle of collaborators to remove from the repositories
-R, --repo stringArray repositories to add/remove collaborators
-v, --version shows cli version