glab
Official gitlab cli client
Install
sudo pacman -S glab
Configuration
Authentication:
Get a GitLab personal access token with
apiandwrite_repositoryscopes
export GITLAB_HOST=https://0xacab.org/
export GITLAB_TOKEN=$(gopass show --password token/0xacab.org/glab)
Usage
Merge requests
List all open MRs in group:
glab mr list --group 123..
CI
glab ci trace
Access tokens
glab token list
glab token create --scope "api" --