1
0
Fork 0
mirror of https://github.com/Luzifer/ansible-role-version.git synced 2024-12-24 11:31:21 +00:00
ansible-role-version/vendor/gopkg.in/src-d/go-git.v4/cli/go-git/version.go

15 lines
215 B
Go
Raw Normal View History

package main
import "fmt"
var version string
var build string
type CmdVersion struct{}
func (c *CmdVersion) Execute(args []string) error {
fmt.Printf("%s (%s) - build %s\n", bin, version, build)
return nil
}