gt-team-repo-add1
Grant a team access to repositories
Usage
gt team
repo
add
<team>
<repository> ...
[flags]
Overview
Grant a team access to repositories of its organization. Name the repositories alone, such as service, or as ORG/NAME; repositories of other owners cannot be granted to a team.
Arguments
A team can be supplied as ORG/TEAM, such as acme/developers, where TEAM is the team's name or ID, or as its numeric ID alone.
Options
-h, --help[=false]
help for add
Options inherited from parent commands
--debug[=false]
Log the method, URL, status, and duration of each HTTP request to stderr
--host=""
Gitea instance URL, including any base path
--interactive[=false]
Allow prompts with machine output
--no-input[=false]
Disable prompts and implicit editor/browser interactions
--sudo=""
Perform API requests as this user (requires an administrator account)
--user=""
Account name on the selected instance
Examples
$ gt team repo add acme/developers service $ gt team repo add 2 acme/service acme/website