Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Multi --format #1326

Open
aman-mehta-sf opened this issue Jan 18, 2024 · 1 comment
Open

[Feature Request] Multi --format #1326

aman-mehta-sf opened this issue Jan 18, 2024 · 1 comment
Labels
Roadmap This item is available in our roadmap USER STORY New feature or request

Comments

@aman-mehta-sf
Copy link

aman-mehta-sf commented Jan 18, 2024

Is your feature request related to an issue that you encountered with Salesforce Code Analyzer?
I would like to have the ability to specify multiple file formats in one command, rather than having to run the command multiple times.

Describe the solution that you want:
Currently, I would have to run a command like this:
sf scanner:run --format 'json' --engine 'eslint' --outfile 'build/reports/codeanalyzer.json' --target ./test/resources/force-app/
sf scanner:run --format 'html' --engine 'eslint' --outfile 'build/reports/codeanalyzer.html' --target ./test/resources/force-app/

I don't want to run the engine multiple times for file formats. Ideally, I could do something like the following:

sf scanner:run --format 'json, html' --engine 'eslint' --outfile 'build/reports/codeanalyzer.json, 'build/reports/codeanalyzer.html' --target ./test/resources/force-app/

Describe alternatives that you've considered:
For now, I would have to either run the command multiple times or do the additional formatting myself.

Additional Context:
N/A

Workaround:
As far as I'm aware, I would have to implement the multi-format manually.

Urgency:
Highly Beneficial

@aman-mehta-sf aman-mehta-sf added the USER STORY New feature or request label Jan 18, 2024
Copy link

git2gus bot commented Jan 18, 2024

This issue has been linked to a new work item: W-14845872

@johnbelosf johnbelosf added the Roadmap This item is available in our roadmap label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Roadmap This item is available in our roadmap USER STORY New feature or request
Projects
Status: Researching 🧵
Development

No branches or pull requests

2 participants