Skip to content

Commit 02476f4

Browse files
authored
docs: add instructions for cli to README (#251)
1 parent b77a236 commit 02476f4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,19 @@ The result looks like this:
6363

6464
If Mercury is unable to find a field, that field will return `null`.
6565

66+
Mercury Parser also ships with a CLI, meaning you can use the Mercury Parser
67+
from your command line like so:
68+
69+
```bash
70+
# Install Mercury globally
71+
yarn global add @postlight/mercury-parser
72+
# or
73+
npm -g install @postlight/mercury-parser
74+
75+
# Then
76+
mercury-parser https://postlight.com/trackchanges/mercury-goes-open-source
77+
```
78+
6679
## License
6780

6881
Licensed under either of the below, at your preference:

0 commit comments

Comments
 (0)