Add a cljs.core/command-line-args var that mimics Clojure's:
cljs.core/
https://github.com/clojure/clojure/blob/4bb1dbd596f032621c00a670b1609a94acfcfcab/src/clj/clojure/core.clj#L6148
Rationale:1) Simplifies writing command-line scripts in ClojureScript if this var is universally available.2) Consistency with Clojure.
Existing tooling can ignore the var (it would be initialized with nil).
nil
Command-line REPLs or other command-line environments can bind a sequence to this var when launched.
Add a
cljs.core/
command-line-args var that mimics Clojure's:https://github.com/clojure/clojure/blob/4bb1dbd596f032621c00a670b1609a94acfcfcab/src/clj/clojure/core.clj#L6148
Rationale:
1) Simplifies writing command-line scripts in ClojureScript if this var is universally available.
2) Consistency with Clojure.
Existing tooling can ignore the var (it would be initialized with
nil
).Command-line REPLs or other command-line environments can bind a sequence to this var when launched.