svg / svgo

⚙️ Node.js tool for optimizing SVG files
https://svgo.dev/
MIT License
21.03k stars 1.39k forks source link

[FEATURE REQUEST]: Option to hide SVGs that were optimised by 0% #2050

Open JackDomleoOcean opened 3 months ago

JackDomleoOcean commented 3 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When dealing with a huge library of SVGs, it's often difficult to see exactly which icons were optimised in the CLI output and by how much since there are a lot that were optimised by 0%.

Describe the solution you'd like A clear and concise description of what you want to happen.

A new CLI flag and/or config property to hide any SVGs that were optimised by 0% in the output, so only the SVGs that were altered are displayed in the CLI output.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

There is a --quiet flag, but this hides everything. I'd still like to see the SVGs that were optimised.

Additional context Add any other context or screenshots about the feature request here.

feature-request-hide-0