   (println msg)
   (System/exit status))
 
+
 (defn -main [& args]
   (let [{:keys [options arguments errors summary help]} (cli/parse-opts args cli-options)]
     (cond

       provisioning-user)
     :summarize-session true)))

(def cli-options
  [["-h" "--help"]
   ["-s" "--server-test"]
   ["-c" "--configure"]
   ["-t" "--targets TARGETS.edn" "edn file containing the targets to install on."
    :default "targets.edn"]])

(defn usage [options-summary]
  (str/join

      (not= (count arguments) 1) (exit 1 (usage summary))
      (:server-test options) (execute-server-test
                                        (app/load-domain (first arguments))
                                        (if (= (options :targets) localhost)
                                          localhost
                                          (app/load-targets (:targets options))))
      (:configure options) (execute-configure
                             (app/load-domain (first arguments))
                             (if (= (options :targets) localhost)
                               localhost
                               (app/load-targets (:targets options))))
      :default (execute-install
                 (app/load-domain (first arguments))
                 (if (= (options :targets) localhost)
                   localhost
                   (app/load-targets (:targets options)))))))
