Skip to content

v0.0.27

Compare
Choose a tag to compare
@release-drafter release-drafter released this 04 May 12:48
· 180 commits to master since this release
912a0cf

What’s Changed

🚀 Features

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
}