 (deftask rss
   "Generate RSS feed"
   [f filename    FILENAME    str  "generated RSS feed filename"
-   _ filterer    FILTER      code "predicate to use for selecting entries (default: `:content`)"
+   _ filterer    FILTER      code "predicate to use for selecting entries (default: `:include-rss`)"
    o out-dir     OUTDIR      str  "the output directory"
    t site-title  TITLE       str  "feed title"
    p description DESCRIPTION str  "feed description"

        (perun/set-meta fileset updated-files)))))

(def ^:private +word-count-defaults+
  {:filterer :content})

(deftask word-count
  "Count words in each file. Add `:word-count` key to the files' meta"
  [_ filterer FILTER code "predicate to use for selecting entries (default: `:content`)"]
  (let [pod (create-pod ttr-deps)
        options (merge +word-count-defaults+ *opts*)]
    (boot/with-pre-wrap fileset

  '[[time-to-read "0.1.0"]])

(def ^:private +ttr-defaults+
  {:filterer :has-content})

(deftask ttr
  "Calculate time to read for each file. Add `:ttr` key to the files' meta"
  [_ filterer FILTER code "predicate to use for selecting entries (default: `:has-content`)"]
  (let [pod     (create-pod ttr-deps)
        options (merge +ttr-defaults+ *opts*)]
    (boot/with-pre-wrap fileset
