debricked / cli

Debricked's command line interface. It brings open source security, compliance and health to your project via the command prompt.
MIT License
19 stars 8 forks source link

Add support for configuring exclusions through environment variables #122

Closed sweoggy closed 8 months ago

sweoggy commented 9 months ago

As title, in addition to the existing --exclusion flag.

Ideally the exclusions are comma separated when using the environment flag.

E.g.

-e "*/**.lock" -e "**/node_modules/**" -e "*\**.ex

becomes

DEBRICKED_EXCLUSIONS="*/**.lock,**/node_modules/**,*\**.ex"