Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutedCmd ¶ added in v0.3.0
ExecutedCmd returns the command that was actually executed, or nil if execution failed before PersistentPreRun (e.g., flag/arg validation).
func SetVersionInfo ¶
func SetVersionInfo(v, commit, date string)
SetVersionInfo sets the version string shown by --version, including optional build metadata (commit hash and build date).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.