   (case cmd
     :new (new/run args)
     :show (show/run args)
-    :gen (gen/run (routes (config/posts-path)) (config/output-dir))
-    :run (web/run (routes (config/posts-path)) (config/port) "blog")
+    :gen (generate)
+    :run (web)
     :help (help-cmd args)
     :version (version-cmd)
     ;; Aliases

  (let [version (System/getProperty "blog.version")
        build (util/get-build)]
    (print (format "FRMX Blog version %s, build %s\n" version build))))

(defn run
  "

            [dragon.web :as web]
            [mx.roads.forgotten.blog.cli.new :as new]
            [mx.roads.forgotten.blog.cli.show :as show]
            [mx.roads.forgotten.blog.routes :refer [gen-routes routes]]
            [taoensso.timbre :as log]
            [trifl.core :refer [sys-prop]]
            [trifl.docs :as docs]))
