Skip to content
/ dclone Public
forked from zhangyuang/dclone

The simplest command for downloading specified directory in github/gitlab can cutting down download time

License

Notifications You must be signed in to change notification settings

bao-cli/dclone

 
 

Repository files navigation

English | 简体中文

Download specified directory in github/gitlab

Build Status Coverage Status download standardjs License License Node

dclone is the simplest command for downloading specified directory or whole repo in github/gitlab (used depend on git), dclone can completely replace git clone and cut down download time

Features

Let me introduce some awesome features in dclone

  • quickly: you can only download single folder and cut down download time
  • overall: dclone can download both github and gitlab
  • simple: you only need copy http link in location

How to use

it's very simple, you only need find github url of the directory,like https://github.com/ykfe/egg-react-ssr/tree/dev/example/ssr-with-loadable

$ npm i -g dclone
$ dclone https://github.com/ykfe/egg-react-ssr/tree/dev/example/ssr-with-loadable

You can also import dclone in files direct

import { dclone } from 'dclone'

await dclone({
  dir: 'https://github.com/ykfe/egg-react-ssr/tree/dev/example/ssr-with-loadable'
})

About

The simplest command for downloading specified directory in github/gitlab can cutting down download time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%