github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/cmd/syft/internal/options/config.go (about) 1 package options 2 3 import "github.com/anchore/fangs" 4 5 // Config holds a reference to the specific config file that was used to load application configuration 6 type Config struct { 7 ConfigFile string `yaml:"config" json:"config" mapstructure:"config"` 8 } 9 10 func (cfg *Config) DescribeFields(descriptions fangs.FieldDescriptionSet) { 11 descriptions.Add(&cfg.ConfigFile, "the configuration file that was used to load application configuration") 12 }