Back to godoc.org
github.com/pieterclaerhout/go-james/cmd/updater

package updater

v1.4.0
Latest Go to latest
Published: May 4, 2020 | License: Apache-2.0 | Module: github.com/pieterclaerhout/go-james

Index

Variables

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier