Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VersionCmd = &cobra.Command{
Use: "version",
Short: "Display version information",
Long: "\nDisplay version information for the memorizer binary.\n\n" +
"Shows the semantic version number, git commit hash, and build timestamp. " +
"Version information is injected at build time using ldflags when building " +
"with 'make build-release' or 'make install-release'.",
Example: ` # Display version information
memorizer version`,
PreRunE: validateVersion,
RunE: runVersion,
}
Functions ¶
func PrintVersion ¶
func PrintVersion()
PrintVersion outputs version information in a detailed multi-line format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.