update

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = cli.Command{
	Name:   "update",
	Usage:  "Updates `fossa` to the latest version",
	Action: Do,
	Flags:  flags.Global,
}
View Source
var ErrDevelopmentBuild = errors.New("development builds cannot be automatically updated")
View Source
var ErrInvalidVersion = errors.New("invalid version (are you using a development binary?)")

Functions

func AvailableUpdate

func AvailableUpdate() (bool, error)

func Do

func Do(c *cli.Context)

func Update

func Update() (semver.Version, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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