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

Allow eliding the jq_query #19

Merged
merged 3 commits into from
Sep 19, 2023
Merged

Allow eliding the jq_query #19

merged 3 commits into from
Sep 19, 2023

Conversation

clux
Copy link
Owner

@clux clux commented Sep 19, 2023

Both jq and python-yq supports eliding the jq_query in favour of the implicit '.' default, so doing the same here

`cat json | yq` worked with python-yq by defaulting the filter to '.'

to be able to hotswap we should allow this also

Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
@clux clux marked this pull request as ready for review September 19, 2023 09:18
@clux clux merged commit 243fd21 into main Sep 19, 2023
13 checks passed
@clux clux deleted the allow-empty-query branch September 19, 2023 09:18
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

Successfully merging this pull request may close these issues.

None yet

1 participant