Scroll to navigation

GITLAB(1) GITLAB(1)

NAME

gitlab - command line interface to gitlab

SYNOPSIS

gitlab command

DESCRIPTION

gitlab is a command line interface to gitlab based on the gem gitlab. It requires to set a few environment variables (see configuration).

For a complete list of supported CLI commands, see:

<http://www.rubydoc.info/gems/gitlab/Gitlab/Client>

Any of those methods can be called as a command by passing the parameters of the commands as parameters of gitlab.

CONFIGURATION

export GITLAB_API_ENDPOINT=https://gitlab.yourcompany.com/api/v4

export GITLAB_API_PRIVATE_TOKEN=<your private token from /profile/account>

export GITLAB_API_HTTPARTY_OPTIONS="{verify: false}"

EXAMPLES

gitlab users
gitlab user
gitlab user --only=id,username

gitlab user --except=email,bio

SEE ALSO

AUTHOR

Sophie Brun <sophie@freexian.com>

2017-09-22 0.1