feat: Add --name option to override name in output (#1269)

This commit is contained in:
Justin Chadwell
2022-11-10 14:03:23 -05:00
committed by GitHub
parent 949cff158d
commit 10f43d75e0
10 changed files with 68 additions and 20 deletions
+1
View File
@@ -55,6 +55,7 @@ type Application struct {
Exclusions []string `yaml:"exclude" json:"exclude" mapstructure:"exclude"`
Attest attest `yaml:"attest" json:"attest" mapstructure:"attest"`
Platform string `yaml:"platform" json:"platform" mapstructure:"platform"`
Name string `yaml:"name" json:"name" mapstructure:"name"`
}
func (cfg Application) ToCatalogerConfig() cataloger.Config {