Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
Functions ¶
func DisplayVersionWithUpdateCheck ¶
func DisplayVersionWithUpdateCheck()
DisplayVersionWithUpdateCheck displays the version information and checks for updates. This is the single source of truth for displaying version info with update notifications.
func GetChangelogUrl ¶
func GetFormattedDate ¶
GetFormattedDate parses inputDate as an RFC3339 timestamp and returns the date formatted as "MM-DD-YYYY" wrapped in parentheses (for example "(01-02-2006)"). If inputDate is empty or cannot be parsed as RFC3339, it returns an empty string.
func GetVersionOutput ¶
func GetVersionOutput() string
GetVersionOutput returns the formatted version string used by both the version subcommand and the -v/--version flags
func VersionCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.