-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for managing team access
Closes #1
- Loading branch information
Showing
2 changed files
with
56 additions
and
14 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# gh repo-collab | ||
|
||
A GitHub CLI extension to manage repository collaborators. | ||
A GitHub CLI extension to manage repository access for users and organization teams. | ||
|
||
``` | ||
gh extension install mislav/gh-repo-collab | ||
``` | ||
|
||
``` | ||
Usage: gh repo-collab list [<repo>] | ||
gh repo-collab add <repo> <login> [--permission <string>] | ||
gh repo-collab add <repo> < logins-file.txt | ||
gh repo-collab remove <repo> <login> | ||
gh repo-collab add <repo> <handle> [--permission {pull|triage|push|maintain|admin}] | ||
gh repo-collab add <repo> < users-file.txt | ||
gh repo-collab remove <repo> <handle> | ||
Valid permission is one of: pull, triage, push, maintain, admin. | ||
Handle may be a GitHub user login handle or `<org>/<slug>' for an organization team. | ||
``` |