feat: add `mr list` flag `mine`
Created by: zemzale
Description
Add flag mine
that allows filtering merge request that only are
assigned to the user.
This uses the scope
option of the merge request API, using the v11
snake_case version in favor of the kebab-case which is deprecated.
See more:
gitlab-foss!18935 (merged)
https://docs.gitlab.com/ce/api/merge_requests.html#list-project-merge-requests
Related Issue
#167 (closed) Motivation and Context
How Has This Been Tested?
Tested on some of my private repos on gitlab.com and it workd just fine :)
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
-
My code follows the code style of this project. -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the CONTRIBUTING document. -
I have added tests to cover my changes. -
All new and existing tests passed.