cmd

package
v0.0.0-...-90bc491 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL