github.com/anchore/syft@v1.38.2/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(s) that were 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(s) used to load application configuration") 12 }