GitLab Command Line Interface
The GitLab Command Line Interface (CLI) is a cross-platform command line utility that provides a user-friendly yet powerful way to query information from your GitLab repos.
Installation and Usage
go get github.com/makkes/gitlab-cli
or grab the binary of the most current release.
All commands of gitlab-cli currently require that you are authenticated. To do
so you issue
gitlab-cli login YOUR_TOKEN. You obtain a personal access token
Currently GitLab CLI supports these commands:
projects: List all your projects
project: List details about a project by ID or name
project create: Create a new project
var: Manage project variables
pipelines: List pipelines of a project
pipeline: List details of a pipeline
issues: List all issues of a project
issue: Manage issues
status: Display the current configuration of GitLab CLI
You can get your Bash to complete GitLab CLI commands very easily: Just type the following line in your shell:
. <(gitlab-cli completion)
To have completion set up for you automatically just copy and paste the line
from above into your
This software is distributed under the BSD 2-Clause License, see LICENSE for more information.