Skip to content

Allow custom report templates via CLI#4800

Merged
jeremylong merged 1 commit intodependency-check:mainfrom
gesellix:custom-template
Sep 5, 2022
Merged

Allow custom report templates via CLI#4800
jeremylong merged 1 commit intodependency-check:mainfrom
gesellix:custom-template

Conversation

@gesellix
Copy link
Copy Markdown
Contributor

@gesellix gesellix commented Sep 1, 2022

Fixes Issue #4799

Description of Change

This makes the CliParser more tolerant for the --format argument. It still allows all values from Format and additionally accepts existing file paths. It won't validate if the file is a valid Velocity template.

Have test cases been added to cover the new functionality?

no (not yet)

@boring-cyborg boring-cyborg Bot added the cli changes to the cli label Sep 1, 2022
Copy link
Copy Markdown
Collaborator

@jeremylong jeremylong left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@jeremylong jeremylong merged commit 1132b74 into dependency-check:main Sep 5, 2022
@gesellix gesellix deleted the custom-template branch September 5, 2022 10:42
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cli changes to the cli

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants