Sometimes when running one of snyk's commands, you may want to pass some additional arguments to the package manager. Two hyphens will indicate to snyk that the following arguments are to be passed through to the underlying command that is sent to the package manager.
The usage would be:
snyk [options] [command] [package] -- "[arguments]"
For example, you may want to tell a Maven project to use a specific settings.xml file:
snyk test -- "-s settings.xml"
The supported snyk commands for this functionality are:
- snyk test
- snyk monitor
- snyk protect
- snyk wizard