cons:
- json
@r4v5 well i spent 10 minutes crafting it with two jq manual tabs and stackoverflow and wrote it down for later :p
response is like {items: [{name: ..., deploy_version: {version: ...}}]},
so:
- takes .items
- for each line, takes .name and .deploy_version.version, and join the two with ": "
- joins all those lines with a \n
and a -r so it replaces \n with newlines
@CobaltVelvet jq: it’s like awk, except without twenty years of “i need to do this, here’s a command incantation that works” desire path docs
Any time i see someone do something cool with it i ask to make sure my understanding of what they did seemed right, and that is indeed cool