Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Unable to read stdin #29

Open
gczuczy opened this issue Apr 23, 2024 · 0 comments
Open

[bug] Unable to read stdin #29

gczuczy opened this issue Apr 23, 2024 · 0 comments

Comments

@gczuczy
Copy link

gczuczy commented Apr 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant