Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
AIT
biovalidator
Commits
bc391dd4
Commit
bc391dd4
authored
Jun 09, 2022
by
Isuru Liyanage
Browse files
argument parsing example add to readme
parent
488502aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
README.md
+2
-0
No files found.
README.md
View file @
bc391dd4
...
...
@@ -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`
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment