| var | since v0.0-927 | Edit | 
When compiled for a command-line target, whatever function
*main-cli-fn* is set to will be called with the command-line
argv as arguments.
Currently only available for Node (compiler option :target :nodejs)
(defn -main [& args]
  (println "You passed the following command line args:")
  (println args))
(set! *main-cli-fn* -main)
When compiled for a command-line target, whatever function *main-cli-fn* is set to will be called with the command-line argv as arguments
(def
  *main-cli-fn* nil)