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)
To clarify that, I'd expect an output of (logs -f stuff)
@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)
@bmaddy Fix was fairly simple. It is currently committed to this branch https://github.com/mfikes/planck/tree/fix-550