user.clj 494 B

12345678910111213141516171819
  1. (ns user
  2. (:require
  3. [clojure.repl :refer :all]
  4. [clojure.pprint :refer [pprint]]
  5. [com.stuartsierra.component :as component]
  6. [attendant.main :as main]
  7. [rebel-readline.core :as rebel-core]
  8. [rebel-readline.clojure.main :as rebel-clj-main]))
  9. (defn -main []
  10. (println "==> starting main system")
  11. (reset!
  12. main/system
  13. (component/start
  14. (main/main-system :dev true)))
  15. (println "==> starting rebel-readline")
  16. (rebel-core/ensure-terminal
  17. (rebel-clj-main/repl* {})))