version

package
v0.17.0-test Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CurrVersion string
	CurrCommit  string
)

Functions

func CheckForUpdate

func CheckForUpdate(client *github.Client, out io.Writer) error

CheckForUpdate checks current version against latest on github

func PrintVersion

func PrintVersion(client *houston.Client, out io.Writer) error

PrintVersion outputs current cli version and git commit if exists

func ValidateCompatibility added in v0.16.0

func ValidateCompatibility(client *houston.Client, out io.Writer, cliVer string, skipVerCheck bool) error

ValidateCompatibility print message if astro-cli version is not compatible with platform version

Types

This section is empty.

Jump to

Keyboard shortcuts

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