svgo_cli 1.0.0
svgo_cli: ^1.0.0 copied to clipboard
Command-line interface for SVGO - a tool for optimizing SVG files. Port of the popular Node.js SVGO optimizer.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-12-06 #
Added #
- Initial release of SVGO CLI
- Command-line interface for SVG optimization
- Single file and batch processing support
- Glob pattern support for file matching
- Output directory option (
-o, --output) - Recursive directory processing (
-r, --recursive) - Multipass optimization mode (
-m, --multipass) - Configurable float precision (
-p, --precision) - Quiet mode for scripting (
-q, --quiet) - Version and help commands
- Progress and summary output
- Byte savings statistics
Usage Examples #
# Optimize a single file
svgo input.svg
# Optimize to output directory
svgo -o dist input.svg
# Batch processing with glob
svgo "src/**/*.svg"
# Multipass with custom precision
svgo -m -p 2 input.svg
[Unreleased] #
Planned #
- Configuration file support (svgo.config.yaml)
- Plugin selection via command-line
- Stdin/stdout support
- Watch mode for development
- Parallel processing for large batches