1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 12:45:59 +02:00

Update svgo saving result to a new file (#4367)

I'm currently using svgo 1.3.2 which as of right now is the latest released version: https://github.com/svg/svgo/releases

The second command did not work and according to the help docs you need to specify `-o` to the output file, otherwise everything is treated as input files.
This commit is contained in:
Jason Axelson 2020-09-29 00:43:30 -10:00 committed by GitHub
parent 8448b30acc
commit 30c0cd3d4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@
- Optimize a file and save the result to another file:
`svgo {{test.svg}} {{test.min.svg}}`
`svgo {{test.svg}} -o {{test.min.svg}}`
- Optimize all SVG files within a directory (overwrites the original files):