func Version() *cobra.Command
Version returns a cobra command to be added to another cobra command, like: ```go
rootCmd.AddCommand(version.Version())
```
func WithFont(fontName string) *cobra.Command
WithFont returns a cobra command to be added to another cobra command with a select font for ASCII, like: ```go
rootCmd.AddCommand(version.WithFont("starwars"))
```
type Info struct { GitVersion string `json:"gitVersion"` GitCommit string `json:"gitCommit"` GitTreeState string `json:"gitTreeState"` BuildDate string `json:"buildDate"` GoVersion string `json:"goVersion"` Compiler string `json:"compiler"` Platform string `json:"platform"` ASCIIName string `json:"-"` FontName string `json:"-"` Name string `json:"-"` Description string `json:"-"` }
func GetVersionInfo() Info
GetVersionInfo represents known information on how this binary was built.
func (i *Info) CheckFontName(fontName string) bool
func (i *Info) JSONString() (string, error)
JSONString returns the JSON representation of the version info
func (i *Info) String() string
String returns the string representation of the version info