Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentVersion ¶
func GetCurrentVersion() string
GetCurrentVersion returns the current version of DevCLI
func PerformUpdate ¶
func PerformUpdate() error
PerformUpdate downloads and installs the latest version
Types ¶
type UpdateInfo ¶
type UpdateInfo struct {
CurrentVersion string
LatestVersion string
IsUpdateAvailable bool
ReleaseURL string
ReleaseNotes string
}
UpdateInfo contains information about available updates
func CheckForUpdates ¶
func CheckForUpdates() (*UpdateInfo, error)
CheckForUpdates checks if a new version is available on GitHub
Click to show internal directories.
Click to hide internal directories.