Documentation
¶
Overview ¶
Package version holds the single CLI version string.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is the CLI version — reported by `--version`, embedded in the User-Agent header, and published in the commands catalog. It is injected at release build time via the linker:
-ldflags "-X github.com/korbit-official/korbit-cli/internal/version.Version=<tag>"
(the release pipeline feeds it the git tag). A plain `go build` / `go run` from source leaves the "dev" default. It is therefore a var, not a const: `-X` can only overwrite a string variable.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.