update

package
v0.7.19 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: MPL-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

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

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