   [{:keys [job-name] :as opts} :- {(s/required-key :job-name) s/Str
                                    s/Keyword s/Any}]
   (deep-merge-with deep-merge
-                   defaults
+                   config-file-defaults
                    (if (environ/env :dev)
                      {}
                      (let [sys (system-config)]

(s/defn parse-args :- Opts
  [args :- [s/Str]]
  (let [{:keys [options arguments summary errors]
         :as parsed-opts} (cli/parse-opts args opts)]

    (when (:help options)
      (throw+ {:help ::usage

            [schema.core :as s]
            [slingshot.slingshot :refer [throw+]])
  (:require [clj-yaml.core :as yaml]
            [clojure.tools.cli :as cli]
            [environ.core :as environ]
            [runbld.store :as store]
            [runbld.util.data :refer [deep-merge-with deep-merge]]
            [runbld.util.date :as date]
            [runbld.util.io :as io]
            [runbld.version :as version]))

(def config-file-defaults
  {:es
   {:url "http://localhost:9200"
    :build-index "build"
