SVG Optimizer: optimizing Scalable Vector Graphics files. Based in Node.js. It applies a series of transformation rules (plugins), which can be toggled individually. More information: https://github.com/svg/svgo.
svgo test.svg
svgo test.svg -o test.min.svg
svgo -f path/to/directory/with/svg/files
svgo -f path/to/input/directory -o path/to/output/directory
cat test.svg | svgo -i - -o test.min.svg
svgo test.svg -o -
svgo --show-plugins