     :default "file://data/db/blocks"]
    ["-r" "--refs URL" "Location of backing ref tracker"
     :default "file://data/db/refs.tsv"]
-   ["-m" "--master URL" "Spark master connection URL"
-    :default "local"]
+   ["-m" "--master URL" "Spark master connection URL"]
+   [nil  "--no-prompt" "Disable the prompt for user input before exiting"]
    ["-h" "--help"]])
 
 

          elapsed (delay (/ (- (System/currentTimeMillis) start) 1e3))]
      (spark/with-context spark-ctx (-> (conf/spark-conf)
                                        (conf/app-name "movie-lens-recommender")
                                        (conf/master (:master options)))
        (try
          (command-fn spark-ctx options (rest arguments))
          (catch Throwable err
            (log/error err "Command failed!")
            (when-let [err (ex-data err)]
              (u/pprint err))))
        (println "\nCommand finished in" (u/duration-str @elapsed))
        (println "Press RETURN to exit")
        (flush)
        (read-line)))))

  (:require
    [blocks.core :as block]
    [blocks.store.file]
    [blocks.store.s3]
    [clojure.string :as str]
    [clojure.tools.cli :as cli]
    [clojure.tools.logging :as log]
