                   (reader.jline/prepare-for-read))
         "--interactive" true))))
 
-(defn launch-standalone [options]
+(defn launch-standalone
+  "Launches the streamed (non-nREPL) version of REPL-y, with options already
+  parsed out"
+  [options]
   (concurrency/set-signal-handler! "INT" handle-ctrl-c)
   (clojure.main/repl :read reply-read
         :eval reply-eval

      arg-map)))

(defn launch-nrepl [options]
  (reader.jline/with-jline-in
    (evaluation.nrepl/main
      (assoc options

  (reader.jline/resume-reader))

(defn exit
  "Exits the REPL. This is fairly brutal, does (System/exit 0)."
  []
  (shutdown-agents)
  (reader.jline/shutdown-reader)
