mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
22 lines
315 B
Go
22 lines
315 B
Go
|
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()
|
||
|
}
|