hd
is a HTTP download tool.
Install it via: brew install linuxsuren/linuxsuren/hd
Or download it directly (for 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
Or use a simple way:
hd get jenkins-zh/jenkins-cli/jcli -t 6
Or you can also install a package from GitHub:
hd install jenkins-zh/jenkins-cli/jcli -t 6
- go library for HTTP
- multi-thread
- continuously (TODO)
- GitHub release asset friendly