A download tool that is baked for the GitHub release assets. 专注于 GitHub 项目的工具安装
MIT License
Bot releases are visible (Hide)
Published by release-drafter[bot] about 3 years ago
Published by release-drafter[bot] about 3 years ago
Published by release-drafter[bot] about 3 years ago
Usage:
hd install --proxy-github gh.api.99988866.xyz cli
Published by release-drafter[bot] about 3 years ago
Published by release-drafter[bot] about 3 years ago
Published by release-drafter[bot] about 3 years ago
Published by release-drafter[bot] about 3 years ago
Published by release-drafter[bot] about 3 years ago
Published by LinuxSuRen about 3 years ago
Published by release-drafter[bot] over 3 years ago
Published by release-drafter[bot] over 3 years ago
Published by release-drafter[bot] over 3 years ago
You can import it from github.com/linuxsuren/http-downloader/pkg/installer
, then put the following code to your CLI.
It can help you to download desired tools:
is := installer.Installer{
Provider: "github",
}
if err = is.CheckDepAndInstall(map[string]string{
"ks": "linuxsuren/ks",
"kk": "kubekey",
}); err != nil {
return
}
Published by release-drafter[bot] over 3 years ago
Published by release-drafter[bot] over 3 years ago
Published by LinuxSuRen over 3 years ago
Now you can install a package with a simple name instead of the full name. For example:
hd install ks
Published by release-drafter[bot] over 3 years ago
Published by release-drafter[bot] over 3 years ago
Published by release-drafter[bot] over 3 years ago
Published by release-drafter[bot] over 3 years ago
Published by release-drafter[bot] over 3 years ago