Documentation
¶
Overview ¶
Package waybill lazy-installs and invokes a pinned version of Waybill (https://github.com/kusari-oss/waybill) as a prerequisite of kusari subcommands that need it.
Index ¶
Constants ¶
const ( Version = "0.1.0-alpha.68" Repo = "kusari-oss/waybill" )
const EnvBinOverride = "KUSARI_WAYBILL_BIN"
EnvBinOverride lets a user point at a pre-installed waybill (air-gapped, local dev builds, test fixtures). When set, the cache + download path is skipped entirely.
const EnvBinOverrideLegacy = "KUSARI_MIKEBOM_BIN"
EnvBinOverrideLegacy is the pre-rename name for EnvBinOverride, retained permanently for back-compat. When both are set, EnvBinOverride wins and this one is ignored; when only this one is set it is honored, with a deprecation warning.
const EnvNoAutoInstall = "KUSARI_NO_AUTO_INSTALL"
EnvNoAutoInstall, when "1", causes EnsureAvailable to error instead of downloading. Useful in CI / regulated environments.
Variables ¶
This section is empty.
Functions ¶
func EnsureAvailable ¶
EnsureAvailable returns the filesystem path to a verified waybill binary matching the pinned Version, installing it on first use.
Types ¶
This section is empty.