gh-extension for working with your GitHub org.
First, install gh
from https://github.com/cli/cli/releases/latest (brew install gh
on a Mac using Homebrew).
Install gh-orgtools via gh extension install
:
gh extension install a2hosting/gh-orgtools
gh orgtools help
- prints documentation gh-orgtools and its commandsgh orgtools repo-list
- list an organizations repositoriesgh orgtools team-add-to-repo
- grant an organization team access to the given repositorygh orgtools team-get-id
- get GitHub ID for the given teamgh orgtools team-list
- list the organization's teamsgh orgtools team-repo-list
- list a team's repositoriesgh orgtools user-get
- get information about the given usergh orgtools user-invite
- invite users to join the organizationgh orgtools user-list
- list users in the organizationgh orgtools user-remove
- remove users from the organization
See gh orgtools help
for full documentation.
Issues can be reported on GitHub:
https://github.com/a2hosting/gh-orgtools/issues
MIT License - see LICENSE
in this repository.