version

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.0.2"

Version defines the current application semantic version.

Variables

View Source
var GitCommit = ""

GitCommit defines the application's Git short SHA-1 revision set during the build.

View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "Show the Titan daemon version information",
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println(ClientVersion())
	},
}

VersionCmd implements the version sub-command.

Functions

func ClientVersion

func ClientVersion() string

ClientVersion returns the application's full version string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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