gitlab
Python CLI for the GitLab API
TLDR
List projects
$ gitlab project list
Create project$ gitlab project create --name "[name]"
List merge requests$ gitlab project-merge-request list --project-id [id]
Create merge request$ gitlab project-merge-request create --project-id [id] --source-branch [feature] --target-branch [main] --title "[title]"
SYNOPSIS
gitlab resource action [options]
DESCRIPTION
gitlab is the python-gitlab CLI for interacting with the GitLab API. It manages projects, merge requests, issues, users, groups, and other GitLab resources from the command line.
The tool follows a resource-action pattern, where you specify the GitLab resource type and the action to perform on it.
PARAMETERS
--project-id id
Project ID.--name name
Resource name.--title title
Title.--source-branch branch
Source branch.--target-branch branch
Target branch.
CONFIGURATION
~/.python-gitlab.cfg
Configuration file containing GitLab instance URLs, private tokens, and default settings.
RESOURCES
project
Manage projects.project-merge-request
Manage merge requests.project-issue
Manage issues.user
Manage users.group
Manage groups.
