From 15f22333fa4a36439de9a216062bfc5f7381844e Mon Sep 17 00:00:00 2001 From: kegeotech Date: Sat, 21 Sep 2024 15:53:59 +0300 Subject: [PATCH] Update README to include added option --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 97bef39..dc38db6 100644 --- a/README.md +++ b/README.md @@ -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