amp-inline-critical-cli
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -124,3 +124,3 @@ { | ||
}, | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"xo": { | ||
@@ -127,0 +127,0 @@ "space": 4, |
@@ -20,19 +20,7 @@ # amp-inline-critical-cli | ||
inline-critical works well with standard input. | ||
You can either pass in the html | ||
Recommened usage in example below. | ||
Works well with either `.html` or `.php` files. | ||
```bash | ||
cat index.html | amp-inline-css-cli critical.css | ||
amp-inline-css-cli -c /path/to/css/main.css -h /path/to/index.html > /path/to/output/index.html | ||
``` | ||
or just flip things around | ||
```bash | ||
cat critical.css | amp-inline-css-cli index.html | ||
``` | ||
or pass in the fileas as an option | ||
```bash | ||
amp-inline-css-cli critical.css index.html | ||
``` | ||
without having to worry about the correct order | ||
```bash | ||
amp-inline-css-cli index.html critical.css | ||
``` | ||
Run `amp-inline-css-cli --help` to see the list of options. | ||
@@ -39,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12771
41