Documentation
¶
Overview ¶
Package update provides self-update functionality for the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDevVersion = errors.New("cannot update development builds")
ErrDevVersion is returned when trying to update a development build.
Functions ¶
func ApplyUpdate ¶
ApplyUpdate downloads and applies the update, replacing the current binary.
func GetPlatformInfo ¶
func GetPlatformInfo() (os, arch string)
GetPlatformInfo returns the current OS and architecture.
Types ¶
Click to show internal directories.
Click to hide internal directories.