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

[Feature/Idea]: Add '--resolve-issue' optional argument for update/new/remove command #449

Closed
CoolPlayLin opened this issue Feb 4, 2024 · 1 comment
Assignees

Comments

@CoolPlayLin
Copy link

CoolPlayLin commented Feb 4, 2024

What would you like to see changed/added?

I usually update or add a new manifest according to known issues. But when I open a Pull Request, I have to modify the body manually. I want to use '--resolve-issue' optional argument to link my Pull Request with its issue.

@russellbanks
Copy link
Owner

I've added a parameter to the update, new, and remove command that lets you list issues that would be resolved by the pull request.

Example usage:

komac update --identifier Package.Identifier --version 1.2.3 --urls https://example.com --resolves 123 --resolves 456

This would then make the pull request body have this:

Resolves:
- #123
- #456

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

No branches or pull requests

2 participants