Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gitlab issues

CLI tool for gitlab's API:

https://python-gitlab.readthedocs.io/en/stable/cli.html

pip3 install --user python-gitlab
$EDITOR ~/.python-gitlab.cfg 

Sample config for gitlab's main site, but you can add your own local instances too:

[global]
default = gitlab
ssl_verify = true
timeout = 5

[gitlab]
url = https://gitlab.com
private_token = <insert API token here>
api_version = 4

Use:

gitlab issue list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.