download-git-repo-cli

3.0.2 • Public • Published

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

Require Node.js and Git.

$ 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

/download-git-repo-cli/

    Package Sidebar

    Install

    npm i download-git-repo-cli

    Weekly Downloads

    0

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    3.47 kB

    Total Files

    4

    Last publish

    Collaborators

    • flippidippi