Home

Awesome

Gitlab Tools

npm version build status dependency status devDependency status npm downloads

NodeJS Toolkit & CLI for GitLab

Currently this project directly update GitLab's database, please make sure you have some backups before messing around with your database. Ability to update with API calls is in the works.

Quickstart

npm i -g gitlab-tools
gitlab clone-labels --help

Usage

Usage: gitlab <command> [options]

Commands:
  clone-labels  Clone labels between projects

Options:
  --dialect   Database dialect                    [string] [default: "postgres"]
  --username  Database username                     [string] [default: "gitlab"]
  --password  Database password                   [string] [default: "password"]
  --database  Database name            [string] [default: "gitlabhq_production"]
  -h, --help  Show help                                                [boolean]
  --version   Show version number                                      [boolean]

Testing

git clone -o github git@github.com:mgcrea/node-gitlab-tools.git
cd node-gitlab-tools
npm i
npm start