download-git-repo-cli
v3.0.2
Published
Download and extract a git repository (GitHub, Gitlab, Bitbucket) from node CLI.
Downloads
8
Maintainers
Readme
download-git-repo-cli
Download and extract a git repository (GitHub, Bitbucket) from node CLI.
See download-git-repo for the API and issue tracker.
Install
$ npm install download-git-repo-cli -g
Usage
Usage
$ download-git-repo <url>
$ download-git-repo <url> <directory>
$ download-git-repo <url> <directory> --clone
Example
$ download-git-repo -h
$ download-git-repo flippidippi/download-git-repo-fixture
$ download-git-repo flippidippi/download-git-repo-fixture test/tmp
$ download-git-repo gitlab:flippidippi/download-git-repo-fixture
$ download-git-repo gitlab:custom.com:flippidippi/download-git-repo-fixture
$ download-git-repo bitbucket:flippidippi/download-git-repo-fixture#my-branch test/tmp --clone
Options
-h, --help Show help
-c, --clone Use git clone instead of an http download.
License
MIT