git-batch-cloner

1.7.0 • Public • Published

git-batch-cloner

Clone all repositories that you have permission to

Install

Using npm:

npm install git-batch-cloner -g

Using yarn:

yarn global add git-batch-cloner

Usage

Gitlab

gitlab-cloner --url=https://gitlab-url --token="your person token" --output="./repo"
# Specify the configuration file
gitlab-cloner --config=./.gitlab.env

Using dotenv parameters

# .env file
URL=https://gitlab-url
TOKEN=your person token
OUTPUT=clone target dir

# If there are multiple clones that need to be cloned
# gitlab
GITLAB_URL=https://gitlab-url
GITLAB_TOKEN=your person token
GITLAB_OUTPUT=clone target dir
# special goup_id
GITLAB_GROUP_ID_LIST="190"

Readme

Keywords

none

Package Sidebar

Install

npm i git-batch-cloner

Weekly Downloads

11

Version

1.7.0

License

MIT

Unpacked Size

359 kB

Total Files

17

Last publish

Collaborators

  • fupengl