Dica 21 - Criando issues por linha de comando com gitlab cli

Doc: https://python-gitlab.readthedocs.io/en/stable/

Configuração

Primeiro precisamos criar um arquivo /etc/myfile.cfg

sudo vim /etc/myfile.cfg # precisa do sudo

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

[somewhere]
url = https://gitlab.com
private_token = your-token
api_version = 4

Instalação

pip install python-gitlab

Fazendo um teste no Python

Criando issues

gitlab + click

Last updated

Was this helpful?