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

Missing --null-input passthrough #191

Open
cbandy opened this issue May 18, 2024 · 0 comments
Open

Missing --null-input passthrough #191

cbandy opened this issue May 18, 2024 · 0 comments

Comments

@cbandy
Copy link

cbandy commented May 18, 2024

I like using long arguments in my scripts when they seem more legible than short ones. I was surprised to find that yq supports jq's -n but not its equivalent --null-input.

$ python3 -m yq -n .
null

$ python3 -m yq --null-input .
usage: yq [options] <jq filter> [input file...]


$ jq --null-input .
null
$ python3 -m yq --version
yq 3.4.3
$ jq --version
jq-1.7.1
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

1 participant