NAME
gitlab-api-v4 - Command line interface to the GitLab API v4.
SYNOPSIS
# Generally:
gitlab-api-v4 <method> [<arg> ...] [--<param>=<value> ...]
# List all groups:
gitlab-api-v4 groups
# List information about a project:
gitlab-api-v4 project <project_id>
# Create an admin user:
gitlab-api-v4 create-user \
--email=<email> --password=<password> --username=<username> --name=<name> --admin
CONFIGURING
You may configure this module with envornment variables, command line options, and a configuration file. To setup the configuration file run:
gitlab-api-v4 configure
This will ask several interactive questions to help you configure this script. The information, which may include GitLab authentication tokens, is stored in ~/.gitlab-api-v4.json
.
Read more at GitLab::API::v4::Config.
OPTIONS
method
<method>
The API method to call (one of the methods documented in GitLab::API::v4).
args
<arg> ...
Any arguments that the "method" requires.
params
--<param>=<value> ...
Any parameters that the "method" accepts.
access level
--access-level-guest
--access-level-reporter
--access-level-developer
--access-level-master
--access-level-owner
all
--all
Retrieves all results when the results would normally be paged.
AUTHORS
See "AUTHOR" in GitLab::API::v4 and "CONTRIBUTORS" in GitLab::API::v4.
LICENSE
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.