commands

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: Unlicense Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCommit added in v0.1.1

func BuildCommit() string

BuildCommit returns the embedded git commit short hash.

func BuildDate added in v0.1.1

func BuildDate() string

BuildDate returns the embedded build timestamp.

func BuildVersion added in v0.1.1

func BuildVersion() string

BuildVersion returns the embedded version (e.g. v0.2.0 or dev).

func Execute

func Execute() error

func SetBuildInfo added in v0.1.1

func SetBuildInfo(version, commit, date string)

SetBuildInfo records release metadata from the main package. Call from main() before Execute.

Types

This section is empty.

Jump to

Keyboard shortcuts

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