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

Add env filter #128

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Add env filter #128

merged 2 commits into from
Jan 9, 2024

Conversation

kklingenberg
Copy link
Contributor

@kklingenberg kklingenberg commented Nov 20, 2023

This PR adds the env filter. The $ENV global variable is not included in this PR yet, mostly because I didn't find a clean way of embedding it into global scope.

It also adds the $ENV variable as an additional binding in the jaq CLI.

Reference: https://jqlang.github.io/jq/manual/#$env-env

@01mf02 01mf02 merged commit c17db55 into 01mf02:main Jan 9, 2024
@01mf02
Copy link
Owner

01mf02 commented Jan 9, 2024

That looks nice! Note that I will refactor your env filter a bit soon in the spirit of #131.

@kklingenberg kklingenberg deleted the feature/env-filter branch February 17, 2024 15:59
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.

2 participants