SVGO(1)

πŸ“¦ version 2.8.0, in epel 9

✨ NAME ✨

Okay bestie, welcome to the SVGO(1) page from the User Commands manual πŸ’…. This is all about svgo β€” the nodejs-based tool for optimizing SVG vector graphics files. Slay. πŸ¦‹

🌸 SYNOPSIS 🌸

svgo [options] [INPUT...]

πŸ’– OPTIONS πŸ’–

πŸŽ€ Arguments πŸŽ€

  • INPUT β€” alias to --input, iykyk.

⭐ Options ⭐

  • -v, --version β€” output the version number. Cute and quick. ✨
  • -i, --input <INPUT...> β€” input files, with - for STDIN. Give it the tea. 🫢
  • -s, --string <STRING> β€” input SVG data string. Literally SVG as a string. πŸ’¬
  • -f, --folder <FOLDER> β€” input folder, optimize and rewrite all *.svg files. Folder glow-up time. πŸŽ€
  • -o, --output <OUTPUT...> β€” output file or folder (by default the same as the input), with - for STDOUT. Where the slay goes. πŸ’…
  • -p, --precision <INTEGER> β€” set number of digits in the fractional part, overrides plugins params. Precision, no cap. 🎯
  • --config <CONFIG> β€” custom config file, only .js is supported. JS only, bestie. πŸ“œ
  • --datauri <FORMAT> β€” output as Data URI string (base64), URI encoded (enc) or unencoded (unenc). Pick your format era. 🌈
  • --multipass β€” pass over SVGs multiple times to ensure all optimizations are applied. Extra passes because we’re thorough. πŸ”
  • --pretty β€” make SVG pretty printed. Gorgeous formatting moment. ✨
  • --indent <INTEGER> β€” indent number when pretty printing SVGs. Spacing is a lifestyle. πŸŽ€
  • --eol <EOL> β€” line break to use when outputting SVG: lf, crlf. If unspecified, uses platform default. Line ending vibes. 🌸
  • --final-newline β€” ensure SVG ends with a line break. End it with a little newline, periodt. 🫢
  • -r, --recursive β€” use with --folder. Optimizes *.svg files in folders recursively. Go deep, bestie. 🧚
  • --exclude <PATTERN...> β€” use with --folder. Exclude files matching regular expression pattern. Not invited to the party. πŸ™ˆ
  • -q, --quiet β€” only output error messages, not regular status messages. Shhh, main character focus. πŸ’€
  • --show-plugins β€” show available plugins and exit. Plugin lineup reveal. πŸ‘‘
  • --no-color β€” output plain text without color. Minimalist era. ⭐
  • -h, --help β€” display help for command. When in doubt, ask for help. πŸ’–

Source/manual: User Commands; date: October 2021 🫢 That’s the footer tea, bestie β€” page closed with a πŸ’… and a 🌈.

πŸ“¦ where this page comes from