Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( BuildDate string BuildCommit string BuildVersionOverride string )
set by go-releaser
var ExecutableName string = os.Args[0]
name of the executable, this is for the help messages
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetFireflyASCIIArt ¶
func GetFireflyASCIIArt() string
Types ¶
type Info ¶
type Info struct {
Version string `json:"Version,omitempty" yaml:"Version,omitempty"`
Commit string `json:"Commit,omitempty" yaml:"Commit,omitempty"`
Date string `json:"Date,omitempty" yaml:"Date,omitempty"`
License string `json:"License,omitempty" yaml:"License,omitempty"`
}
Info creates a formattable struct for version output