anchore / fangs

Apache License 2.0
5 stars 1 forks source link

feat: support APPNAME_CONFIG environment variable for config file #17

Closed kzantow closed 1 year ago

kzantow commented 1 year ago

This PR adds support for an environment variable for the config file of the form: <APP_NAME>_CONFIG, which will be overridden by command-line configuration option, if specified.

Ultimately, will be the fix for: https://github.com/anchore/syft/issues/1986