Fix mistake in example

yargs
gardenapple 4 years ago
parent c6aea2daed
commit c28e50383f
No known key found for this signature in database
GPG Key ID: CAF17E9ABE789268

@ -50,7 +50,7 @@ See `readable --help` for more information.
**Download a web page using [cURL](https://en.wikipedia.org/wiki/CURL), parse it and save it into a file:**
`curl https://github.com/mozilla/readability | readable --url=https://github.com/mozilla/readability`
`curl https://github.com/mozilla/readability | readable --url=https://github.com/mozilla/readability > example.html`
It's a good idea to supply the --url parameter when piping input, otherwise `readable` won't know the document's URL, and things like relative links won't work.

@ -1,6 +1,6 @@
{
"name": "@gardenapple/readability-cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "Firefox Reader Mode in your terminal - get useful text from a web page using Mozilla's Readability library",
"main": "index.js",
"bin": {

Loading…
Cancel
Save