version

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "version",
	Short:   "Display Version of cds : cds version",
	Long:    `cds version`,
	Aliases: []string{"v"},
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Printf("Version cds : %s\n", sdk.VERSION)
		fmt.Printf("Architecture : %s\n", internal.Architecture)
		fmt.Printf("Git Sha1 : %s\n", internal.Sha1)
		fmt.Printf("Binary Creation Date : %s\n", internal.DateCreation)
		fmt.Printf("Packaging Informations : %s\n", internal.PackagingInformations)
	},
}

Cmd 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