Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions help/cli-commands/code-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<TAG>[,<TAG>]...>`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Syntax error: Extra > character before the closing backtick. The line currently reads --project-tags=<TAG>[,<TAG>]...> but should be --project-tags=<TAG>[,<TAG>]... (without the trailing >). This will render incorrectly in the help documentation.

### `--project-tags=<TAG>[,<TAG>]...`
Suggested change
### `--project-tags=<TAG>[,<TAG>]...>`
### `--project-tags=<TAG>[,<TAG>]...`

Spotted by Graphite

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.


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=<URL>`

Set or override the remote URL for the repository.
Expand Down
Loading