Commit bc391dd4 authored by Isuru Liyanage's avatar Isuru Liyanage
Browse files

argument parsing example add to readme

parent 488502aa
......@@ -173,8 +173,10 @@ Examples:
- `--ref`:
If you have a set of local schemas that will be used as `$ref` in your validating schema, these can be passed to biovalidator using `--ref` argument.
The `--ref` argument can be used in both server and CLI mode. `--ref` accepts file path, directory and glob patterns as values.
When parsing glob patterns, it is better to wrap with `'` to avoid parsing them by command line.
node src/biovalidator --ref=/path/to/reference/schema/dir/*.json
node src/biovalidator --ref '/path/to/reference/schema/dir/*.json'
- `--port`:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment