Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InfoModeEnabled ¶
func InfoModeEnabled() bool
InfoModeEnabled returns true if the plugin should run in build info mode (-buildinfo or -version flags provided).
func RunInfoMode ¶
func RunInfoMode() error
RunInfoMode runs the plugin in build info mode, which prints the build info (or just the version) to stdout and returns. The caller should call os.Exit right after.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.