cli-go icon indicating copy to clipboard operation
cli-go copied to clipboard

Add a command/endpoint to set desired project state

Open kryptn opened this issue 3 years ago • 1 comments

I'd like to manage the projects I'm watching through a config file, which could really just be the json payloads for the api. My goal here is to have a github action that sets all of the projects I'm watching for a repo whenever that specific config file has been changed.

I have a fork where I've added nearly the command I want, but there's other changes that I think will need to happen before it could be added. This works for me for now, but it acts against every watched project in my account. Ideally, I'd be able to limit the projects it acts against through labels or tags or another selection mechanism.

It could be more appropriate to add this functionality to the API instead of doing the logic in cli-go to avoid making many requests.

kryptn avatar Mar 02 '22 14:03 kryptn

Hi David, the set command is very convenient. I will have a closer look at its usage and get back with more information. Thanks for a nice suggestion.

janos avatar Mar 02 '22 17:03 janos