version

package
v0.0.0-...-c349b99 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Command prints version info to stdout
	Command = &cobra.Command{
		Run: func(*cobra.Command, []string) {

			printFunc(`Version: %v
GitRevision: %v
GitBranch: %v
User: %v@%v
Golang version: %v
`, version, gitRevision, gitBranch, user, host, runtime.Version())
		},
		Use:   "version",
		Short: "Display version information",
	}
)

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