looks like `jq` breaks when I use jamespath filter...
# box-products
d
looks like
jq
breaks when I use jamespath filter expressions
b
@Daniel Mejia I don't know what you've typed there, but that isn't a valid CommandBox command
Also note, the
jq
command in CommandBox is not an exact replacement for the linux
jq
binary. It is just similar and uses the JMES path spec
All params sent to the command will still need to follow CommandBox's basic parsing rules
Whatever that
[? ... ]
stuff is you have at the end isn't inside of any quotes so CommandBox is trying to parse all of those tokens as additional args.
And since there is an
=
in it, it thinks some of them are named args, thus the message
d
ah nice I put quotes around the expression part and it worked. Its just that I had been using jq queries without quotes and it works, but this specific query is using "=="
s
when someone uses my command

https://i.pinimg.com/originals/b0/58/cc/b058cc44069aed2a00633e7bc1c61909.gif

👍🏾 1
👍 1
😂 1