Class: GithubOrganizationMemberList::Command
- Inherits:
-
Thor
- Object
- Thor
- GithubOrganizationMemberList::Command
- Defined in:
- lib/github_organization_member_list.rb
Instance Method Summary collapse
Instance Method Details
#members(org, *args) ⇒ Object
80 81 82 83 84 85 86 87 88 |
# File 'lib/github_organization_member_list.rb', line 80 def members(org, *args) Octokit.auto_paginate = true token = ask("Enter GitHub OAuth token") { |q| q.echo = false } viewer = OrganizationViewer.new(organization: org, token: token) viewer.fetch! viewer.report_member_with_teams_and_repositories.each do |line| puts line end end |