logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ruby-gitlab - command line interface to gitlab

Author

       Sophie Brun <sophie@freexian.com>

4.14.1                                             2020-04-04                                     RUBY-GITLAB(1)

Configuration

       A few environment variables needs to be set:

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

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

       The variable GITLAB_API_HTTPARTY_OPTIONS is optional. It can be used to set any HTTParty option you may
       need using YAML hash syntax. For example SSL verification can be disabled with:

              export GITLAB_API_HTTPARTY_OPTIONS="{verify: false}"

Description

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.

Examples

       To list users:
              ruby-gitlabusers

       To get current user:
              ruby-gitlabuser

       The result can be filtered:
              ruby-gitlabuser--only=id,usernameruby-gitlabuser--except=email,bio

Name

       ruby-gitlab - command line interface to gitlab

See Also

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

       • /usr/share/doc/ruby-gitlab/README.md.gz

Synopsis

ruby-gitlabcommand

See Also