upbound / up

The @upbound CLI
Apache License 2.0
49 stars 42 forks source link

feat(robot): add robot team membership #568

Closed haarchri closed 1 week ago

haarchri commented 2 weeks ago

Description of your changes

uses https://github.com/upbound/up-sdk-go/pull/93 implements an option to assign an robot to a team

Fixes #

I have:

How has this code been tested

up robot team list chris -a upboundcare
TEAMS
test678
up robot team join test123 chris -a upboundcare 
Adding robot "chris" to team "test123"
up robot team list chris -a upboundcare
TEAMS
test678
test123
up robot team leave test123 chris -a upboundcare
Are you sure you want to remove this robot from the team? This cannot be undone [y/n]: y
Removing robot "chris" from team "test123"
Removed robot "chris" from team "test123"