Created
June 23, 2021 01:10
-
-
Save aculich/aa364f6e21f433a255cd207770b71b26 to your computer and use it in GitHub Desktop.
Add D-Lab Team members
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # brew install hub jq | |
| ### Create a list of github usernames in a file and then: | |
| for i in `cat curriculum-development`; do hub api --flat orgs/dlab-berkeley/teams/curriculum-development/memberships/$i -X PUT; done | |
| ### see docs in: https://docs.github.com/en/rest/reference/teams#add-or-update-team-membership-for-a-user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment