babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
2021-05-25T02:16:54.171700Z

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

borkdude 2021-05-25T07:42:32.172300Z

@ambrosebs I think the major blocker would be instaparse: https://github.com/JeremS/prose/blob/a4d9c1d272b64e49c7c207891e3036e806835482/deps.edn#L3

1👍
Jakub Holý 2021-05-25T09:54:02.173600Z

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

borkdude 2021-05-25T09:59:51.173800Z

correct

borkdude 2021-05-25T09:59:59.174100Z

~ is bash syntax

1👍
Jakub Holý 2021-05-25T16:24:44.175700Z

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 :))

borkdude 2021-05-25T16:25:27.175900Z

@holyjak bb tasks does this

Jakub Holý 2021-05-25T16:25:49.176700Z

Thanks a lot! Haven't notice the bb tasks command 👀

borkdude 2021-05-25T16:25:51.176800Z

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

borkdude 2021-05-25T16:26:10.177100Z

bb run --help should work though

borkdude 2021-05-25T16:26:38.177400Z

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ý 2021-05-25T16:27:20.178Z

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ý 2021-05-25T16:28:53.178600Z

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