planck

Planck ClojureScript REPL
2017-11-22T21:21:05.000100Z

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)

2017-11-22T21:28:27.000246Z

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

mfikes 2017-11-22T22:53:34.000243Z

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

mfikes 2017-11-22T23:47:57.000189Z

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