Fork me on GitHub
#boot
<
2015-06-22
>
mitchelkuijpers19:06:04

https://github.com/adzerk-oss/boot-cljs-repl/pull/18 Is there any ETA on when this pull request could be merged? Kinda miss my cljs-repl šŸ˜ž

jballanc19:06:30

I know I could look this upā€¦but Iā€™m feeling lazy: anyone know if thereā€™s a way to insert a user prompt in a boot task?

jballanc19:06:14

i.e. something like (deftask dangerous-stuff [] (comp (confirm ā€œAre you sure you want to foobaz the quxbar?ā€) (foobaz-the-quxbar)))

jballanc19:06:11

@alandipert: cool! thatā€™s at least a good starting point simple_smile

alandipert19:06:36

@jballanc: np! read-line is the key

alandipert19:06:01

also (.readPassword (System/console)) is handy

jballanc19:06:17

yeah, just wasnā€™t sure if read-line would work in the context of a task

jballanc19:06:01

Iā€™ve already been bitten by trying to start an nREPL client using with-pre-wrap

jballanc19:06:10

TBH, Iā€™m still not 100% clear why that failsā€¦

alandipert19:06:56

@jballanc: maybe you want with-post-wrap?

jballanc19:06:09

thatā€™s what I ended up using, and it worked

jballanc19:06:43

itā€™s just strange because using with-pre-wrap the REPL client would start, but then immediately terminate complaining that stdin is no longer available

alandipert19:06:09

oh, that is weird - never seen that one

podviaznikov23:06:47

Iā€™m looking into https://github.com/boot-clj/boot/wiki/S3-Repositories. Never use s3-wagon before. Is it possible to deploy to s3 using boot?

alandipert23:06:35

@podviaznikov: after you add the wagon and name the repo you can use the push task

podviaznikov23:06:01

sounds good, going to try. thanks!