cmd

package
v0.0.0-...-df9c948 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version represents the version of the software.
	Version = "dev"

	// Commit represents the git commit hash of the software.
	Commit = vcs("vcs.revision", "unknown")

	// BuildDate represents the date the software was built.
	BuildDate = vcs("vcs.time", "unknown")

	// Dirty represents whether or not the git repo was dirty when the software was built.
	Dirty = vcs("vcs.modified", "unknown")

	// PGOEnabled represents whether or not the build leveraged Profile-Guided Optimization (PGO).
	PGOEnabled = vcs("-pgo", "false")
)

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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