Socket
Socket
Sign inDemoInstall

download-git-repo-cli

Package Overview
Dependencies
2
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    download-git-repo-cli

Download and extract a git repository (GitHub, Gitlab, Bitbucket) from node CLI.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 12 Oct 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc