yajsv icon indicating copy to clipboard operation
yajsv copied to clipboard

[bug] Unable to read stdin

Open gczuczy opened this issue 10 months ago • 0 comments

We're validating embedded content in various YAML files, basically we have to grab what's inside a doc, and send the output to the validator's way. The most trivial way is to pipe it, however yajsv doesn't know the concept of stdin:

$ yq .some.path doc.yaml | yajsv -s schema.json -
-: no such file or directory

Could this be fixed please? This is a valid usecase.

gczuczy avatar Apr 23 '24 07:04 gczuczy