docs: add instructions for cli to README (#251)

pull/253/head
Adam Pash 5 years ago committed by GitHub
parent b77a236dbe
commit 02476f4336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,6 +63,19 @@ The result looks like this:
If Mercury is unable to find a field, that field will return `null`.
Mercury Parser also ships with a CLI, meaning you can use the Mercury Parser
from your command line like so:
```bash
# Install Mercury globally
yarn global add @postlight/mercury-parser
# or
npm -g install @postlight/mercury-parser
# Then
mercury-parser https://postlight.com/trackchanges/mercury-goes-open-source
```
## License
Licensed under either of the below, at your preference:

Loading…
Cancel
Save