Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoPrintVersion = func(cmd *cobra.Command, args []string) {
}
NoPrintVersion is used as an empty PersistentPreRun function so we don't print version info for some commands.
View Source
var PrintVersion = func(cmd *cobra.Command, args []string) { fmt.Fprintf(os.Stdout, "openshift-tests %s\n", version.Get().GitVersion) }
PrintVersion is used as a PersistentPreRun function to ensure we always print the version.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.