gitlab-cli

command module
v0.0.0-...-47da83e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

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

Documentation

Overview

Copyright © 2019 The Mosteroid Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL