Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[bug] Unable to read stdin #29

@gczuczy

Description

@gczuczy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions