version

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:   "version",
	Short: "Display version information",
	Long:  "Print version information about govanity.",
	Args:  cobra.NoArgs,
	Run:   runVersion,
}

Command is the command instance for the version command.

View Source
var (
	// The Version string as set in the git tag.
	// The format is expected to be v1.2.3 or v1.2.3-pre where pre is a prerelease identifier.
	// Except for the "v" prefix the format should be a semantic version without build info.
	// Set via ldflags.
	Version string
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL