version

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildDate string

BuildDate provides the date that the CLI was built.

View Source
var GitBranch string

GitBranch provides the branch that was checked out at the time of build.

View Source
var GitCommit string

GitCommit provides the current commit at the time of build.

View Source
var GitState string

GitState provides the state of the Git project at the time of build.

View Source
var GitSummary string

GitSummary provides the summary of the Git project at the time of build.

View Source
var Version string

Version provides the human-friendly version of the build.

Functions

func IsDevelopment

func IsDevelopment() bool

IsDevelopment returns true if the Version is not set.

func IsLatest

func IsLatest() bool

IsLatest returns true if the current version is the latest and false if it is not.

func LatestVersion

func LatestVersion() string

LatestVersion determines the latest version and returns it as a string.

func Update

func Update()

Update tries to update the Lavra CLI and provides direct output to the terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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