1.0.3 • Published 5 years ago
@ahmadnassri/github-bulk-clone v1.0.3
GitHub Bulk Clone
Bulk clone repos from a GitHub user or org
Install
npm install @ahmadnassri/github-bulk-clone
Linux
Currently this library uses libsecret
so you may need to install it before running npm install
.
Depending on your distribution, you will need to run the following command:
# Debian/Ubuntu:
sudo apt install libsecret-1-dev
# Red Hat-based:
sudo yum install libsecret-devel
# Arch Linux:
sudo pacman -S libsecret
Usage
bulk-clone
$ bulk-clone <command>
Commands:
bulk-clone org <name> clone all org repos
bulk-clone user clone all user repos
Options:
--version Show version number [boolean]
--help Show help [boolean]
bulk-clone user
$ bulk-clone user
clone all user repos
Options:
--version Show version number [boolean]
--help Show help [boolean]
--depth clone depth [number] [default: 1]
--concurrency concurrent clone operations [number] [default: 2]
--cwd clone target [default: "."]
bulk-clone org <name>
$ bulk-clone org <name>
clone all org repos
Options:
--version Show version number [boolean]
--help Show help [boolean]
--depth clone depth [number] [default: 1]
--concurrency concurrent clone operations [number] [default: 2]
--cwd clone target [default: "."]
Author: Ahmad Nassri • Github: @ahmadnassri • Twitter: @ahmadnassri