Fork me on GitHub
#babashka
<
2021-08-18
>
mkvlr15:08:06

we’re now using bb tasks and it’s great. love how `bb.edn` with setting a `:min-bb-version` allows us to use the latest command line tools features and making sure everyone is up to date thanks to https://github.com/borkdude/deps.clj 👏👏👏

🎉 15
Cora (she/her)15:08:48

I threw together a babashka script in record time to shell out to the aws cli and stitch together their various endpoints to produce some tables of useful information for a report for work. definitely awesome

👍 6
Cora (she/her)15:08:15

I even shelled out to puget-cli for some colorizing of EDN

borkdude15:08:50

but shelling out to a CLI is definitely a good option as well

Cora (she/her)15:08:30

that does look good, but I have the aws cli already set up and it produces json which is easy enough to munge

Cora (she/her)15:08:33

I was using aws cli + jet conversion + jet queries but ran into a wall where I needed to stitch together multiple apis and then I had to pull it into babashka for that

Cora (she/her)15:08:44

which is forever a problem. how do you extract data out of some result, perform tasks on it in parallel, combine the results of those, all in-line

Cora (she/her)15:08:57

it's basically scripting language time at that point

Cora (she/her)15:08:14

and thanks to babashka I don't need to reach for ruby

borkdude15:08:14

babashka was born in the summer of 2019 when I was adding the query language to jet. I soon realized that I just wanted to use Clojure, so I tried to implement a small interpreter for Clojure instead...

awesome 24
🙏 3
dgb2316:08:20

Now that is a rabbit hole 😄

🐇 9
🕳️ 6