mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
19 lines
291 B
Go
19 lines
291 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/anchore/syft/cmd/syft/cli"
|
|
)
|
|
|
|
func main() {
|
|
cli, err := cli.New()
|
|
if err != nil {
|
|
log.Fatalf("error during command construction: %v", err)
|
|
}
|
|
|
|
if err := cli.Execute(); err != nil {
|
|
log.Fatalf("error during command execution: %v", err)
|
|
}
|
|
}
|