Teams

Get Teams

codefresh get teams

Get an array of all current user teams.

Create team

codefresh create teams <name>

Create a team.

You can create a new team specifying only name of team or specify path to json file for include extended options
Possible fields in file:
name - team name (specifying name in file will rewrite name specified as command argument)
users - array of users id for that team
tags - array of tag names.

Remove user

codefresh delete teams

Remove user from team.

Pass user id and team id to remove user from team.

Add user

codefresh patch teams

Assign user to a team.

Use patch command and pass user id and team id to assign user to a team.

Synchronize Teams

codefresh synchronize teams [client-name]

Synchronize team with group.