This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-26
Channels
- # admin-announcements (70)
- # aws (1)
- # beginners (17)
- # boot (37)
- # business (1)
- # cider (2)
- # cljs-dev (56)
- # cljsrn (6)
- # clojure (151)
- # clojure-germany (1)
- # clojure-nl (5)
- # clojure-poland (5)
- # clojure-russia (34)
- # clojure-taiwan (1)
- # clojurescript (289)
- # clojurex (2)
- # cursive (16)
- # datavis (3)
- # datomic (12)
- # editors (10)
- # emacs (3)
- # hoplon (17)
- # ldnclj (5)
- # lein-figwheel (12)
- # leiningen (1)
- # liberator (1)
- # off-topic (23)
- # om (116)
- # onyx (39)
- # parinfer (44)
- # portland-or (1)
- # reagent (34)
- # yada (6)
@micha: passing anonymous functions into pods would also be nice. Have some api that takes report functions which can then print stuff or similar. now I can’t pass partials down there that carry args like verbose
:
(pod/with-call-in cpod
(confetti.report/report-stack-events
{:stack-id (:stack-id ran)
:report-cb #(confetti.util/print-ev % ~verbose)}))
Hmm, I wanted to try out 2.5.0-SNAPSHOT
and it seems to complain if the first option in a task doesn't have an OPTARG. Is this something that changed?
@martinklepsch: do you think that's possible? you are passing code to the macro which is only evaled "on the other side" where verbose
isn't defined
By "it seems" I meant that it errors out with malformed cli option: guide
for boot-immutant
where first option looks like _ guide bool
or for boot notifier for option n notifier sym
. I didn't yet investigate further why that happens, because I just can comment those tasks out for now, but it didn't happen with 2.4.2
that’s an improvement in error handling, see https://github.com/boot-clj/boot/issues/285
the guide one should be fine I think — maybe theres another option missing an optarg?
Ok, so more strict option validation. Adding optargs for notify task helped with it, let's see about boot-immutant then.
if you get it working and it was not related to the guide
option please file an issue that the exceptions can be misleading
Here are boot tasks if anything, they look good to me as I understand the DSL - https://github.com/immutant/boot-immutant/blob/master/src/boot/immutant.clj#L71-L138
@jaen: you can. see perun on github. it’s trickier to pass from CLI though, haven’t really tested what works and what doesn’t there