MrCli checks your gitlab instance for pending merge requests.
Get an overview about the total number of pending mr's by approvers and projects, list mr's for your own, your colleagues or multiple projects.
Install the latest version with
$ composer global require danielpieper/mrcli
mrcli
is configured using environment variables.
The GITLAB_TOKEN
is required. Create a token with the api
scope: https://gitlab.com/profile/personal_access_tokens
GITLAB_URL=https://gitlab.com # optional, set for on-premise installations
GITLAB_TOKEN=<gitlab token> # create gitlab token with api access: https://gitlab.com/profile/personal_access_tokens
SLACK_WEBHOOK_URL=<slack webhook url> # optional
SLACK_CHANNEL=<slack channel name, for example #merge_requests> # optional
mrcli overview
mrcli project <project names separated by space>
mrcli approver <approver name, leave empty for your mr's>
- MrCli works with PHP 7.1 or above
Daniel Pieper - [email protected]
MrCli is licensed under the MIT License - see the LICENSE
file for details