Skip to content
A simple command line interface to GitLab
Go Makefile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
cmd Added `version` cmd for seeing gitlab-cli's version; added Makefile Apr 29, 2019
config Added `version` cmd for seeing gitlab-cli's version; added Makefile Apr 29, 2019
mock Reworked `project` cmd; it only has sub-cmds now Feb 12, 2019
support Added pre-push git hook to repo Feb 14, 2019
table Added test for variables table Feb 12, 2019
.gitignore Added `version` cmd for seeing gitlab-cli's version; added Makefile Apr 29, 2019
.travis.yml Only allow Travis failure for Go master on Windows Jun 5, 2019
LICENSE
Makefile Added `version` cmd for seeing gitlab-cli's version; added Makefile Apr 29, 2019
README.md
demo.gif Add demo GIF Feb 1, 2019
go.mod Initial revision Feb 1, 2019
go.sum Initial revision Feb 1, 2019
main.go

README.md

GitLab Command Line Interface

Build Status

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 at https://gitlab.com/profile/personal_access_tokens.

Commands

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

Bash Completion

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 ~/.bashrc or ~/.profile.

License

This software is distributed under the BSD 2-Clause License, see LICENSE for more information.

You can’t perform that action at this time.