Fork me on GitHub
#planck
<
2017-11-22
>
bmaddy21:11:05

is there a trick using single-dash command line arguments? My script looks like this:

(ns bar.core
  (:require [planck.core :refer [*command-line-args*]]))

(println *command-line-args*)
but I don't see the -f when running it:
$ planck bar.cljs logs -f stuff
(logs stuff)

bmaddy21:11:27

To clarify that, I'd expect an output of (logs -f stuff)

mfikes22:11:34

@bmaddy That's a bug https://github.com/mfikes/planck/issues/550 It did not occur with Planck 1.17 (the Objective C version, prior to the C port)

mfikes23:11:57

@bmaddy Fix was fairly simple. It is currently committed to this branch https://github.com/mfikes/planck/tree/fix-550