Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Branch = ""
View Source
var BuildTime = ""
View Source
var Cmd = &cobra.Command{ Use: "version", Short: "Display wego version", Run: runCmd, PostRun: func(cmd *cobra.Command, args []string) { CheckVersion(CheckpointParams()) }, }
View Source
var GitCommit = ""
View Source
var Version = "v0.0.0"
The current wego version
Functions ¶
func CheckFluxVersion ¶ added in v0.1.0
func CheckVersion ¶ added in v0.0.4
func CheckVersion(p *checkpoint.CheckParams)
CheckVersion looks to see if there is a newer version of the software available
func CheckpointParams ¶ added in v0.1.0
func CheckpointParams() *checkpoint.CheckParams
CheckpointParams creates the structure to pass to CheckVersion
func CheckpointParamsWithFlags ¶ added in v0.1.0
func CheckpointParamsWithFlags(params *checkpoint.CheckParams, c *cobra.Command) *checkpoint.CheckParams
CheckpointParamsWithFlags adds the object and command from the arguments list to the checkpoint parameters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.