Awesome
Gitlab Tools
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
- Command Line Interface
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
- You can quickly start hacking around
git clone -o github git@github.com:mgcrea/node-gitlab-tools.git
cd node-gitlab-tools
npm i
npm start