Skip to content

Commit e50332d

Browse files
author
David Blackman
authored
Update README.md
1 parent 37c549c commit e50332d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ This is a simple tool for comparing one json http server to another.
44

55
A pretty normal run of this looks like
66

7+
```
78
npx ts-node compare.ts \
9+
--color \ # defaults to color on for terminal, off for redirect. adding --color forces ansi color escape codes in all output
810
--old.host localhost:3100 \
911
--new.host normal-prod-url.elasticbeanstalk.com \
1012
--input_csv directionals.csv \ # the column names will be used as the parameters names to the endpoint
1113
--endpoint /v1/search \ # the queries will be run against this
14+
--extra_params size=1 \ # added to every query, useful for truncating results to reduce noise
1215
--ignored_fields attribution timestamp bbox # ignore these fields in the diff
16+
```

0 commit comments

Comments
 (0)