Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GitCommit string
GitCommit value set by a linker flag
View Source
var Version string
Version value set by a linker flag
Functions ¶
func CommandWithoutConfig ¶ added in v0.12.0
CommandWithoutConfig return true if current command does not need a config file. Called from within a cobra initializer function. Unfortunately there is no way of getting the current command from an cobra initializer so we scan the command line again.
Types ¶
Click to show internal directories.
Click to hide internal directories.