Documentation ¶
Index ¶
- func Display()
- func DownloadAndInstall(version string) (string, error)
- func GetInstallPath(version string) string
- func GetLatest() (*github.ReleaseBody, error)
- func GetReleaseTagFromVersion(version string) (string, error)
- func Select(selection string, flg flags.Accumulator) error
- func Upgrade(flg flags.Accumulator) error
- type Info
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadAndInstall ¶
DownloadAndInstall - Download and install a selected Ironstar CLI version
func GetInstallPath ¶
GetInstallPath - Check if Ironstar CLI version is installed or not
func GetLatest ¶
func GetLatest() (*github.ReleaseBody, error)
GetLatest - Hit the GH API to retrieve the latest Ironstar CLI version
func GetReleaseTagFromVersion ¶
GetReleaseTagFromVersion returns a githab-ready release tag from a Ironstar CLI version string
func Select ¶
func Select(selection string, flg flags.Accumulator) error
Select - Change the users' Ironstar CLI version to their selection
func Upgrade ¶
func Upgrade(flg flags.Accumulator) error
Upgrade - Check if update available and auto-upgrade the user
Types ¶
Click to show internal directories.
Click to hide internal directories.