A team lives inside an organization and groups its members further.
Teams can be nested (a team can have a parent), and have a visibility of
VISIBLE or SECRET. Roles are MAINTAINER or MEMBER.
Teams are identified by <org> <team> — the team slug is unique only within
its organization.
Manage teams
terminalbash
dreamlake team list # all teams you belong todreamlake team list my-org # teams in one orgdreamlake team show my-org backenddreamlake team create my-org backend --name "Backend" --visibility secretdreamlake team create my-org api --parent backend # nested under backenddreamlake team update my-org backend --visibility visibledreamlake team delete my-org backend # must have no child teamsdreamlake team leave my-org backend
Members
terminalbash
dreamlake team member list my-org backenddreamlake team member add my-org backend alice@example.com --role maintainerdreamlake team member role my-org backend alice@example.com --role memberdreamlake team member remove my-org backend alice@example.com
Adding a user who isn't yet in the organization adds them to the org (as a
MEMBER) automatically.
Last-maintainer / child-team guards
The server prevents removing the last MAINTAINER of a team and deleting a
team that still has child teams — delete or re-parent the children first.