go-james: github.com/pieterclaerhout/go-james/cmd/updater Index | Files

package updater

import "github.com/pieterclaerhout/go-james/cmd/updater"

Index

Package Files

main.go

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

Package updater imports 4 packages (graph) and is imported by 1 packages. Updated 2019-12-07. Refresh now. Tools for package owners.