         [lein-kibit "0.1.2" :exclusions [org.clojure/clojure]]
         [venantius/yagni "0.1.4"]]}}
   :aliases {
-    "check-deps" ["with-profile" "+test" "ancient" "check" "all"]
-    "lint" ["with-profile" "+test" "kibit"]
-    "build" ["with-profile" "+test" "do"
-      ["check-deps"]
-      ["lint"]
-      ["test"]
-      ["compile"]
-      ["uberjar"]]})
+    "repl"
+      ^{:doc (str "A custom FRMX REPL that overrides the default one")}
+      ["with-profile" "+custom-repl" "repl"]
+    "check-deps"
+      ^{:doc (str "Check if any deps have out-of-date versions")}
+      ["with-profile" "+test" "ancient" "check" "all"]
+    "lint"
+      ^{:doc (str "Perform lint checking")}
+      ["with-profile" "+test" "kibit"]
+    "frmx"
+      ^{:doc (str "The FRMX Blog CLI; type `lein frmx help` for commands")}
+      ["run" "-m" "mx.roads.forgotten.blog.main" "cli"]
+    "gen"
+      ^{:doc (str "Generate static content for the blog")}
+      ["run" "-m" "mx.roads.forgotten.blog.core/generate"]
+    "web"
+      ^{:doc (str "Run a local web service for the blog")}
+      ["run" "-m" "mx.roads.forgotten.blog.core/web"]
+    "dev"
+      ^{:doc (str "Generate blog content and run local web service")}
+      ["run" "-m" "mx.roads.forgotten.blog.core/log+generate+web"]
+    "build"
+      ^{:doc (str "Perform build tasks for CI/CD & releases\n\n"
+                 "Additional aliases:")}
+      ["with-profile" "+test" "do"
+        ["check-deps"]
+        ["lint"]
+        ["test"]
+        ["compile"]
+        ["uberjar"]]})

    [stasis "2.3.0"]
    [tentacles "0.5.1"]
    ;; XXX remove these:
    [org.clojure/java.classpath "0.2.3"]

    ]
  :source-paths ["src/clj"]
  :dragon {
    :domain "forgotten.roads.mx/blog"

(defn get-banner
  []
  ; (str
  ;   (slurp "resources/text/repl-banner.txt")
  ;   (slurp "resources/text/repl-loading.txt")))
  "")

(defn get-prompt
  [ns]
  (str "\u001B[35m[\u001B[34m"
       ns
       "\u001B[35m]\u001B[33m λ\u001B[m=> "))

(defproject mx.roads.forgotten/blog "0.2.0-SNAPSHOT"
  :description "Blog for Forgotten Roads MX"
  :url "https://forgotten.roads.mx/blog/"
