Skip to content

Commit

Permalink
Update README to include added option
Browse files Browse the repository at this point in the history
  • Loading branch information
murithigeo committed Sep 21, 2024
1 parent 8fa1b74 commit 15f2233
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ N.B. Make sure to install requirements via `pip`, not `conda` (at the time of wr
python -m tools.validator my.covjson
```

To test a server/api response, specify that the file source is an URL using the `--source` flag. Its default value is `file`

```sh
python -m tools.validator --source=url "https://mydomain.com/collections/cov"
```

## Testing the validator
```sh
python -m pytest
Expand Down

0 comments on commit 15f2233

Please sign in to comment.