RUBY-GITLAB(1) | User commands | RUBY-GITLAB(1) |
ruby-gitlab - command line interface to gitlab
ruby-gitlab command
ruby-gitlab is a command line interface to gitlab based on the gitlab gem. 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 ruby-gitlab.
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}"
ruby-gitlab user --except=email,bio
Sophie Brun <sophie@freexian.com>
2020-04-04 | 4.14.1 |