diff --git a/help/cli-commands/code-test.md b/help/cli-commands/code-test.md index 4dc5b21891..38ba06487f 100644 --- a/help/cli-commands/code-test.md +++ b/help/cli-commands/code-test.md @@ -63,6 +63,18 @@ Example of setting to the latest Git tag: `snyk code test --report --target-reference="$(git describe --tags --abbrev=0)"` +### `--project-tags=[,]...>` + +This can be used in combination with the `--report` option. + +Set the project tags to one or more values (comma-separated key value pairs with an "=" separator). + +Example: `--project-tags=department=finance,team=alpha` + +To clear the project tags set `--project-tags=` + +For more information including allowable characters see [Project tags](https://docs.snyk.io/snyk-platform-administration/snyk-projects/project-tags) + ### `--remote-repo-url=` Set or override the remote URL for the repository.