Forrest logo
back to context overview

svgo

List of commands for svgo:

  • svgo:tldr:35ddb svgo: Optimize all SVG files within a directory (overwrites the original files).
    $ svgo -f ${path-to-directory-with-svg-files}
    try on your machine
    explain this command
  • svgo:tldr:45d0a svgo: Optimize a file and print out the result.
    $ svgo ${test-svg} -o -
    try on your machine
    explain this command
  • svgo:tldr:4c40b svgo: Show available plugins.
    $ svgo --show-plugins
    try on your machine
    explain this command
  • svgo:tldr:515fd svgo: Optimize all SVG files within a directory and save the resulting files to another directory.
    $ svgo -f ${path-to-input-directory} -o ${path-to-output-directory}
    try on your machine
    explain this command
  • svgo:tldr:89f8c svgo: Optimize a file and save the result to another file.
    $ svgo ${test-svg} -o ${test-min-svg}
    try on your machine
    explain this command
  • svgo:tldr:96d22 svgo: Optimize a file using the default plugins (overwrites the original file).
    $ svgo ${test-svg}
    try on your machine
    explain this command
back to context overview