Created
March 17, 2014 06:49
-
-
Save MisaKondo/9594958 to your computer and use it in GitHub Desktop.
OrganizationのMemberの取得とか登録あたり適度に自動化したいので、作成中
This file contains 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
API=https://api.github.com | |
ORG=$(shell org.txt) | |
TOKEN=$(shell cat token.txt) | |
TEAM=$(shell cat team.txt) | |
TEAM_ID=$(shell cat team_id.txt) | |
NEW_MEMBER= | |
teams_list: | |
curl -X GET -H "Authorization: token $(TOKEN)" $(API)/orgs/$(ORG)/teams | |
members_list: | |
curl -X GET -H "Authorization: token $(TOKEN)" $(API)/teams/$(TEAM_ID)/members |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment