Fork me on GitHub
#portal
<
2022-11-29
>
borkdude09:11:57

https://twitter.com/borkdude/status/1597505695800516609:

cat deps.edn | 
  bb -Sdeps '{:deps {djblue/portal {:mvn/version "0.34.2"}}}' \
  -e "(require '[portal.api :as p]) (def p (p/open)) 
        (add-tap #'p/submit) (tap> *input*) @(promise)"
(cc @djblue: perhaps update the README since bb now supports -Sdeps too)

🆒 4
til 1
babashka 6
portal 2
djblue16:11:55

Very nice 👌 I'll raise you this 👇

cat deps.edn |
  bb -Sdeps '{:deps {djblue/portal {:mvn/version "0.34.2"}}}' \
  -e "(require '[portal.api :as p]) (p/open {:value *input*}) @(promise)"

👍 2