Evaluate strings like jq instead of files #706
Answered
by
mikefarah
marcellodesales
asked this question in
Q&A
-
|
Beta Was this translation helpful? Give feedback.
Answered by
mikefarah
Feb 2, 2021
Replies: 2 comments 1 reply
-
You can pass in |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mikefarah
-
Answer
$ echo 'name: Marcello' | docker run --rm -i -v $(pwd):$(pwd) mikefarah/yq eval '.name == "Marcello"' -
true |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can pass in
-
as a filename to read from STDIN.