snyk-tech-services / snyk-delta

Other
19 stars 21 forks source link

snyk-delta-all-projects.sh snyk-delta args #181

Open jbsnyk opened 2 months ago

jbsnyk commented 2 months ago

It would be beneficial to define snyk-delta arguments when calling the script, instead of having to clone the repo and define the arguments in the script (on line 18).

I have done testing, and adding $args to line 18 and defining --setPassIfNoBaseline true in the command when calling the script (i.e. ./snyk_delta_all_projects.sh --setPassIfNoBaseline=true --severity=high) yields the same result as adding --setPassIfNoBaseline true on line 18 and running ./snyk_delta_all_projects.sh --severity=high