Mason is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

@CobaltVelvet holy shit you are like a jq whisperer, what even happened in that command line?

@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

Mason @r4v5

@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