Skip to content

mosteroid/gitlabctl

Repository files navigation

gitlabctl

Build Status Go Report Card

gitlabctl is a command line interface for GitLab.

Usage:
  gitlabctl [command]

Available Commands:
  config      Modify the configuration file
  help        Help about any command
  job         Manage jobs
  pipeline    Manage pipelines
  project     Manage projects

Flags:
      --accessToken string   Set the user access token
      --baseUrl string       Set the gitlab base url
      --config string        Set the config file (default is $HOME/.gitlabctl.yaml)
  -h, --help                 help for gitlabctl
  -k, --insecure             Allow connections to SSL sites without certs

Use "gitlabctl [command] --help" for more information about a command.

Configuration File

Create in your home directory the file .gitlabctl.yaml.

The following table lists the configurable parameters and theirs default values.

Parameter Description Default
gitlab.baseUrl The gitlab instance base URL nil
gitlab.accessToken The access token nil
gitlab.insecure Allow connections to SSL sites without certs false

For generating the access token follow the steps described here.

An example of a configuration file is the follow:

  gitlab:
    baseUrl: https://gitlab.com
    accesstoken: XXX

Releases

No releases published

Packages

No packages published

Languages