Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.45 KB

README-zh.md

File metadata and controls

42 lines (30 loc) · 1.45 KB

Contributors GitHub release GitHub All Releases

入门

hd 是一个基于 HTTP 协议的下载工具。

通过命令:brew install linuxsuren/linuxsuren/hd 来安装

或者,对于 Linux 用户可以直接通过命令下载:

curl -L https://github.com/linuxsuren/http-downloader/releases/latest/download/hd-linux-amd64.tar.gz | tar xzv
mv hd /usr/local/bin

用法

hd get https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz --thread 6

或者,用一个更加简便的办法:

hd get jenkins-zh/jenkins-cli/jcli -t 6

获取,你也可以安装一个来自 GitHub 的软件包:

hd install jenkins-zh/jenkins-cli/jcli -t 6

功能

  • 基于 HTTP 协议下载文件的 Golang 工具库
  • 多线程
  • 断点续传 (TODO)
  • 对 GitHub release 文件下载(安装)友好