updater

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateCmd = climax.Command{
	Name:  "update",
	Brief: "Updates " + versioninfo.ProjectName + " to the latest available release",
	Help:  "Updates " + versioninfo.ProjectName + " to the latest available release",
	Handle: func(_ climax.Context) int {

		tool := updater.Updater{}

		executor := internal.NewExecutor("")
		return executor.RunTool(tool, false)

	},
}

UpdateCmd defines the update command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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