mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
21 lines
312 B
Go
21 lines
312 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/anchore/imgbom/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()
|
||
|
}
|