gitlabctl
Gitlab command-line interface
Synopsis
gitlabctl is a Gitlab client for the command-line.
This client helps you view, update, create, and delete Gitlab resources from the command-line interface.
There are two options to authenticate the command-line client to Gitlab interface:
1.) Using the ‘login’ command by passing the host url, username and password.
$ gitlabctl login
The login token will be saved in $HOME/.gitlabctl.yaml file.
2.) Using Environment variables.
- Basic Authentication (if using a username and password)
- GITLAB_USERNAME
- GITLAB_PASSWORD
- GITLAB_HTTP_URL
- Private Token (if using a private token)
- GITLAB_PRIVATE_TOKEN
- GITLAB_API_HTTP_URL
- OAuth Token (if using an oauth token)
- GITLAB_OAUTH_TOKEN
- GITLAB_API_HTTP_URL
Options
--config string config file (default is $HOME/.gitlabctl.yaml)
-h, --help help for gitlabctl
SEE ALSO
- gitlabctl completion - Generates bash completion scripts
- gitlabctl delete - Delete a Gitlab resource
- gitlabctl describe - Describe a gitlab resource
- gitlabctl edit - Update or patch a Gitlab resource
- gitlabctl gendoc - Generate markdown documentation
- gitlabctl get - Get Gitlab resources
- gitlabctl login - Login to gitlab
- gitlabctl new - Create a Gitlab resource
- gitlabctl version -