(defn -main [& args]
(let [cli (cli/parse-opts args u/cli-options)]
(cond
;; if there are CLI errors, print error messages and usage summary
(:errors cli)
(println (:errors cli) "\n" (:summary cli))
;; if user asked for CLI usage, print the usage summary
(get-in cli [:options :usage])
(println (:summary cli))
;; in other cases start Dynadoc
:otherwise
(start (:options cli)))))