Skip to content

docs(cli): document --project-tags for snyk code test#1311

Open
apzuk3 wants to merge 1 commit into
mainfrom
docs/code-test-project-tags
Open

docs(cli): document --project-tags for snyk code test#1311
apzuk3 wants to merge 1 commit into
mainfrom
docs/code-test-project-tags

Conversation

@apzuk3

@apzuk3 apzuk3 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a --project-tags option section to the snyk code test command reference, matching the wording already used for snyk monitor, snyk container monitor, and snyk iac test.

The flag is already implemented in the CLI (wired through code-client-go) but was not documented for snyk code test.

Where reviewer should start

  • developer-tools/snyk-cli/commands/code-test.md
  • docs/developer-tools/snyk-cli/commands/code-test.md

Both copies are updated to keep the duplicates in sync. The new section is inserted after --target-reference and before --remote-repo-url, alongside the other report/project metadata options.

Risk

Low - documentation only, no behaviour changes.

Companion PR

CLI repo: snyk/cli#6879 - adds the same section to cli/help/cli-commands/code-test.md so snyk code test --help reflects the change immediately. This user-docs PR is required because the CLI repo content is synced from this source weekly via .github/workflows/sync-cli-help-to-user-docs.yml; without this PR, the CLI change would be reverted by the next sync.

Adds a `--project-tags` option section to the `snyk code test`
command reference, matching the wording already used for
`snyk monitor`, `snyk container monitor`, and `snyk iac test`.

The flag is implemented in the CLI (wired through code-client-go)
but was not yet documented for `snyk code test`. The CLI repo's
help/cli-commands content is synced from this user-docs source, so
this change keeps both in sync.
@apzuk3 apzuk3 requested a review from a team as a code owner June 4, 2026 13:23
@snyk-io

snyk-io Bot commented Jun 4, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant