syft/cmd/cmd.go
2020-06-25 10:39:11 -04:00

15 lines
205 B
Go

package cmd
import (
"os"
"github.com/anchore/imgbom/internal/log"
)
func Execute() {
if err := rootCmd.Execute(); err != nil {
log.Errorf("could not start application: %w", err)
os.Exit(1)
}
}