Skip to content

Commit 77a2635

Browse files
committed
Merge pull request #49 from MattiSG/patch-1
Document CLI usage
2 parents d6afef7 + b21e187 commit 77a2635

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ A [JSON Schema](http://json-schema.org/documentation.html) validator for Node.js
1313

1414
## Usage
1515

16+
### CLI
17+
18+
If you install the package globally (`npm install -g jayschema`), then you can directly invoke it from the command-line:
19+
20+
```shell
21+
$ jayschema my-schema.json
22+
```
23+
1624
### Basic usage
1725

1826
```js

0 commit comments

Comments
 (0)