summaryrefslogtreecommitdiff
path: root/Pass arguments to JQ.md
blob: 0411444ace6c9feeda0ba32705dc65103b155b87 (plain)
1
2
3
4
5
6
7
[[JQ data types]]

---

`jq --arg blaat test '.name == $blaat`

argument is a string, so if we want to cmp integers for example we need to cast it.