inliner/docs/usage.txt
Ricardo Pescuma Domenecci b025f4b0b6 feat: add support for inlining .min js
Closes #75
2015-11-26 10:29:27 +00:00

31 lines
977 B
Plaintext

Usage:
$ inliner [flags] url-or-filename
Inliner also supports HTML being piped and will inline from STDIN.
Flags:
-n, --nocompress don't compress CSS or HTML - useful for debugging
-i, --noimages don't encode images - keeps files size small, but more requests
-o, --videos encode videos (and their poster image) - disabled by default
-s, --nosvg don't compress SVG (through SVGO)
-v, --verbose echo on STDERR the progress of inlining
-V, --version output the version number
-h, --help output usage information
-m, --inlinemin inline minified files
Options:
-e, --encoding override encoding detection
Examples:
$ inliner -v https://twitter.com > twitter.html
$ inliner -ni local-file.html > local-file.min.html
$ inliner -e windows-1253 http://foofootos.gr > foofootos-utf8.html
$ cat local-file.html | inliner
For more details see http://github.com/remy/inliner/