mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 18:46:41 +01:00
13 lines
436 B
Go
13 lines
436 B
Go
package options
|
|
|
|
import "github.com/anchore/fangs"
|
|
|
|
// Config holds a reference to the specific config file(s) that were used to load application configuration
|
|
type Config struct {
|
|
ConfigFile string `yaml:"config" json:"config" mapstructure:"config"`
|
|
}
|
|
|
|
func (cfg *Config) DescribeFields(descriptions fangs.FieldDescriptionSet) {
|
|
descriptions.Add(&cfg.ConfigFile, "the configuration file(s) used to load application configuration")
|
|
}
|