cmd

package
v3.0.0-...-8846255 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const ProductName = "yq"

ProductName is the name of the product

Variables

View Source
var (
	GitCommit   string
	GitDescribe string

	// Version is main version number that is being run at the moment.
	Version = "3.4.1"

	// VersionPrerelease is a pre-release marker for the version. If this is "" (empty string)
	// then it means that it is a final release. Otherwise, this is a pre-release
	// such as "dev" (in development), "beta", "rc1", etc.
	VersionPrerelease = ""
)

The git commit that was compiled. This will be filled in by the compiler.

Functions

func GetVersionDisplay

func GetVersionDisplay() string

GetVersionDisplay composes the parts of the version in a way that's suitable for displaying to humans.

func New

func New() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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