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

package version

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

Index

Package Files

main.go

Variables

var VersionCmd = climax.Command{
    Name:  "version",
    Brief: "Print version info and exit",
    Help:  "Print version info and exit",
    Handle: func(_ climax.Context) int {

        tool := version.Version{}

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

    },
}

VersionCmd defines the version command

Package version imports 3 packages (graph) and is imported by 1 packages. Updated 2019-12-16. Refresh now. Tools for package owners.