   (: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]

  [cfg]
  (fn init
    []
    (mdag/init-store
      :encoding [:mdag :gzip :edn]
      :store (block/->store (:blocks-url cfg))
      :cache {:total-size-limit (:cache-size cfg (* 32 1024 1024))}
      :types merkle-db.graph/codec-types)))

    :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"]
   [nil  "--no-prompt" "Disable the prompt for user input before exiting"]
   ["-h" "--help"]])


