grype/main.go

22 lines
315 B
Go
Raw Normal View History

2020-05-26 14:37:28 +00:00
package main
import (
"github.com/anchore/vulnscan/cmd"
)
var (
version = "No version provided"
commit = "No commit provided"
buildTime = "No build timestamp provided"
)
func main() {
cmd.SetVersion(&cmd.Version{
Version: version,
Commit: commit,
BuildTime: buildTime,
})
cmd.Execute()
}