mirror of
https://gitea.com/gitea/tea.git
synced 2026-09-10 07:26:33 -04:00
Add a 'tea collaborators' command for managing repository collaborators,
mirroring the conventions of the recently-added 'tea deploy-keys' command:
- list: List all collaborators of a repository
- create: Add a collaborator with specified permission (read/write/admin)
- delete: Remove a collaborator from a repository
- permission: Check a collaborator's current permission level
Running 'tea collaborators <username>' without a subcommand is a shortcut
for 'tea collaborators permission <username>'.
Subcommand naming follows the codebase's create/delete convention; aliases
('add' for create, 'rm'/'remove' for delete) preserve the existing muscle
memory.
The deploy-keys functionality previously bundled here is intentionally
omitted: it is covered by the already-open upstream PR #1067 and would
conflict.
|
||
|---|---|---|
| .. | ||
| create.go | ||
| delete.go | ||
| list.go | ||
| permission.go | ||