Fork me on GitHub
#babashka
<
2021-05-25
>
ambrosebs02:05:54

I'm attempting to use https://github.com/JeremS/prose from babashka. It uses sci, is that a blocker?

Jakub HolĂ˝ (HolyJak)09:05:02

babashka.fs does not understand ~/ and I have to manually use (System/getProperty "user.home") , right?

borkdude09:05:59

~ is bash syntax

đź‘Ť 3
Jakub HolĂ˝ (HolyJak)16:05:44

Is there a way to get bb run to to display the available tasks? bb run simply starts REPL and bb run -h only says "No such task". (Of course, I can always cat bb.edn :))

borkdude16:05:27

@holyjak bb tasks does this

Jakub HolĂ˝ (HolyJak)16:05:49

Thanks a lot! Haven't notice the bb tasks command đź‘€

borkdude16:05:51

I think bb run could do it too if invoked with no other args maybe yes, or we should just crash

borkdude16:05:10

bb run --help should work though

borkdude16:05:38

This is in the help of bb --help:

Tasks:

  tasks       Print list of available tasks.
  run <task>  Run task. See run --help for more details.

Jakub HolĂ˝ (HolyJak)16:05:20

Ah, bb tasks was hidden under https://book.babashka.org/#_task_local_options that I did not consider relevant to my case and thus just skipped.

Jakub HolĂ˝ (HolyJak)16:05:53

Oh, just noticed I have bb 0.3.4. That explains a lot :)