docs(teams-members): update CHANGELOG, README, regenerate CLI reference

Add a CHANGELOG entry for 'tea teams members', extend the README
examples with member-management lines, and regenerate docs/CLI.md.
This commit is contained in:
Ross Golder 2026-07-30 10:27:33 +07:00
parent d8aa859811
commit 3346617581
No known key found for this signature in database
GPG key ID: 253A7E508D2D59CD
3 changed files with 49 additions and 0 deletions

View file

@ -3,6 +3,7 @@
## Unreleased
* FEATURES
* Add `tea teams members` subcommand for managing team membership (list, add, remove)
* Add `tea teams` subcommand for managing organization teams (list, create, delete, edit)
## [v0.13.0](https://gitea.com/gitea/tea/releases/tag/v0.13.0) - 2026-04-05

View file

@ -93,6 +93,8 @@ EXAMPLES
tea teams create dev-team --org myorg --permission write --can-create-repo
tea teams edit 5 --no-create-repo # flip a team's create-repo flag off
tea teams delete 5 -y # delete team ID 5 without prompting
tea teams members list 5 # list members of team ID 5
tea teams members add 5 alice -y # add a user to a team
# send gitea desktop notifications every 5 minutes (bash + libnotify)
while :; do tea notifications --mine -o simple | xargs -i notify-send {}; sleep 300; done

View file

@ -2039,6 +2039,52 @@ Edit a team
**--units**="": repository units the team can access (code, issues, pulls, wiki, releases, projects, packages, actions)
### members, member
Manage team members
#### list, ls
List team members
**--limit, --lm**="": specify limit of items per page (default: 30)
**--login, -l**="": Use a different Gitea Login. Optional
**--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json)
**--page, -p**="": specify page (default: 1)
**--remote, -R**="": Discover Gitea login from remote. Optional
**--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional
#### create, add, c
Add a member to a team
**--login, -l**="": Use a different Gitea Login. Optional
**--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json)
**--remote, -R**="": Discover Gitea login from remote. Optional
**--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional
#### delete, rm, remove
Remove a member from a team
**--confirm, -y**: confirm removal without prompting
**--login, -l**="": Use a different Gitea Login. Optional
**--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json)
**--remote, -R**="": Discover Gitea login from remote. Optional
**--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional
## comments, comment, c
Manage comments on issues and pull requests