.tags | to_entries | map(select(.value[] == "tag:primary") | .key))
I think the big advantage jq has is that ChatGPT can generate filters from English descriptions.
I think the big advantage jq has is that ChatGPT can generate filters from English descriptions.