Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// ThemeKitVersion is the version build of the library
ThemeKitVersion, _ = version.NewVersion("1.1.4")
)
Functions ¶
func Install ¶
Install will take a semver string and parse it then check if that update is available and install it. If the string is 'latest' it will install the most current. If the string is latest and there is no update it will return an error. An error will also be returned if the requested version does not exist.
func IsUpdateAvailable ¶
func IsUpdateAvailable() bool
IsUpdateAvailable will check if there is an update to the theme kit command and if there is one it will return true. Otherwise it will return false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.