Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New option for subcommand 'issue update' : '--add-label' #257

Open
RichardHitier opened this issue Feb 8, 2019 · 1 comment
Open

New option for subcommand 'issue update' : '--add-label' #257

RichardHitier opened this issue Feb 8, 2019 · 1 comment

Comments

@RichardHitier
Copy link

In case of adding a label to already labelled issue, I find it unhandy to retype all previous labels I want to keep.
Maybe ' --add-label ' could simply do the trick

@leandro-lucarella-sociomantic
Copy link
Contributor

I think we could use some special formatting, like issue update --label +to_add --label -to_remove.

We will have to use the API endpoint for labels instead of updating the issue for this, otherwise we have a race condition when setting new labels.

Here are the API calls we should use:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants