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

How to leverage jq option '--slurpfile variable-name filename' from node-jq #624

Open
sharangthorat opened this issue Sep 6, 2023 · 1 comment

Comments

@sharangthorat
Copy link

How do I use jq command line option '--slurpfile variable-name filename' with node-jq?
I have a two files where one file stores some configurations which I want to pass and use them in filter while converting from one json to another. I am looking for storing this configuration in another json and then use that as variable.

@davesnx
Copy link
Member

davesnx commented Oct 24, 2023

We don't provide this flag on node-jq currently. Feel free to push a PR with this!

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

2 participants