New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

gitlab-init

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-init

Clones all the repositories you have access to (unless they already exist)

latest
npmnpm
Version
1.0.4
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

gitlab-init

A simple CLI tool that connects to your Gitlab installation, lists all projects you have access to and attempts to git clone them into the same folder structure as in Gitlab.

Why on earth would you need this?

  • When installing a new machine and wanting to get a quick start
  • Getting new people joining your team quickly set up
  • Use a unified directory structure for everyone
  • When you just want to git clone all Gitlab projects

Installation

  • Install git and node
  • npm -g install gitlab-init
  • mkdir projects
  • gitlab-init -e https://your-gitlab-url -t your-token
  • Success!

Usage

Usage: gitlab-init [options]

Options:
  -V, --version           output the version number
  -e, --endpoint [url]    Gitlab installation endpoint
  -t, --token [string]    Your Gitlab profile token (Can be provided as env: GITLAB_TOKEN)
  -m, --max <n>           Maximum project pages to get (10 per page) [10] (default: 10)
  -p, --path [directory]  Root projects directory where the project will be cloned into (default: "./projects/")
  -h, --help              output usage information

FAQs

Package last updated on 30 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts