v0.0.27
·
180 commits
to master
since this release
What’s Changed
🚀 Features
- Add installer as a package (#50) @LinuxSuRen
As a library
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
}