Documentation
¶
Overview ¶
Package version manages CLI version checking and display.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Template = fmt.Sprintf("stripe version %s\n", Version)
Template for the version string.
var Version = "master"
Version of the CLI. This is set to the actual version by GoReleaser, identify by the git tag assigned to the release. Versions built from source will always show master.
Functions ¶
func CheckLatestVersion ¶ added in v0.6.5
func CheckLatestVersion()
CheckLatestVersion makes a request to the GitHub API to pull the latest release of the CLI
Types ¶
This section is empty.