github-helpers

0.1.1 • Public • Published

github-helpers

bulk team management &c

Installation

npm install -g github-helpers

Be sure the node exists, if not create a symbolic link to nodejs

Usage

github-helpers is limited to viewing and the bulk management of a GitHub organization's

  • members
  • teams
  • team members

Credentials

You must authenticate with a GitHub username and password that has access to the target organization. Provide credentials with either command line options or environment variables.

# command line
github-helpers -u you -p secret {cmd}

# env vars (BASH/ZSH/&c)
export GITHUB_USERNAME="you"
export GITHUB_PASSWORD="secret"

github-helpers {cmd}
...

Examples

# list teams belonging to an organization
github-helpers teams BlueAcornInc

# list members belonging to an organization
github-helpers members BlueAcornInc

# list members belonging to a team ("developers")
github-helpers members BlueAcornInc developers

# add all members of BlueAcornInc to "developers" team
github-helpers bulkmembership BlueAcornInc developers


# add "developers" team as collaborator on all repositories in BlueAcornInc
github-helpers bulkcollaboration BlueAcornInc developers

TODO

  • remove redundancy && callback pyramid of doom

Readme

Keywords

none

Package Sidebar

Install

npm i github-helpers

Weekly Downloads

2

Version

0.1.1

License

ISC

Last publish

Collaborators

  • blueacorn