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
How to pass param to plugin through CLI #636
Comments
@jkelstrup looking at the
I think could be added into CLI helps. |
Thanks a lot @elrumordelaluz ! This might not be the prettiest of CLI-interactions, but it does exactly what I was looking for! I'm gonna close this issue. If others could find it useful to see this improved, I think a new issue should be opened for that. |
yes @jkelstrup, absolutely agree about
and
|
@elrumordelaluz |
@evilPaprika Use svgo.config.js |
I can't seem to figure out how to pass a param to a plugin when using the command line.
Specifically I want to tell
convertColors
to setcurrentColor
totrue
.The only way I found to do this is to create a config-file. But I'm hoping that there's a simpler inline-way of doing it?
The text was updated successfully, but these errors were encountered: