-
-
Notifications
You must be signed in to change notification settings - Fork 705
Description
Please describe your feature request.
Support to set variable (not using env. var.) like jq --arg ...
.
I'm fully aware about Env. Var. Operator, but we may want to set a bunch of var. and having to set env. var. for them is not only a hassle but also sometime not desired.
Env. Var. is limited, as it's stored in the Process Context. For ex. Linux limit the size of single Env. Var. to only 128 KB and total of all argument and Env. Var. is 2 MB (ARG_MAX). The later means when we have a process that is started with a very long arguments, the process has smaller space left for Env. Var. storage, because the ARG_MAX is a shared space.
Describe the solution you'd like
The yq
should have something like --arg
or --var
option.
Describe alternatives you've considered
N/A
Additional context
N/A