Sign inSign up

468654/github-org-user-export

By 468654

Updated over 5 years ago

https://gist.github.com/jdennes/11404512

Image
0

887

468654/github-org-user-export repository overview

Usage:

this is already done inside the docker:

Get set up:

$ git clone https://gist.github.com/11404512.git export-members; cd export-members 

Bundle (we're going to use Octokit):

$ bundle install

Replace <org-username> with the username of your organization in export-all-members.rb and/or export-all-members-with-2fa-disabled.rb.

If using docker Start here to export users:

Then export all members:

$ OCTOKIT_ACCESS_TOKEN=<yourtoken> bundle exec ruby export-all-members.rb
$ cat export-all.csv

or, export members with 2FA disabled:

$ OCTOKIT_ACCESS_TOKEN=<yourtoken> bundle exec ruby export-all-members-with-2fa-disabled.rb
$ cat export-2fa-disabled.csv

Tag summary

Content type

Image

Digest

Size

269.9 MB

Last updated

over 5 years ago

docker pull 468654/github-org-user-export