version

package
v0.0.63 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package version holds build-time version information for the CLI.

Index

Constants

This section is empty.

Variables

View Source
var Version string = "dev"

Version is injected at build time via -ldflags (e.g. "0.0.62"). Defaults to "dev" when not set.

Functions

func Get added in v0.0.63

func Get() string

Get returns the CLI version. It prefers the value injected via ldflags, then falls back to the Go module version embedded in the binary (e.g. when installed via `go install github.com/prolific-oss/cli/...@vX.Y.Z`).

Types

This section is empty.

Jump to

Keyboard shortcuts

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