   [options-summary]
   (clojure.string/join
    \newline
-   ["Afterglow, a functional lighting control environment."
+   ["Afterglow, a live-coding environment for light shows."
+    (str "Version " (version/tag))
     ""
     "Usage: afterglow [options]"
     ""

            [selmer.parser :as parser]
            [taoensso.timbre :as timbre]
            [taoensso.timbre.appenders.3rd-party.rotor :as rotor])
  (:gen-class))

(defonce ^{:doc "Holds the running web UI server, if there is one, for later shutdown."}

   (reset! appenders appenders-map)
   (init-logging)))

(defn- valid-host?
  "Check whether a string represents a valid host name."
  [name]
  (try
    (InetAddress/getByName name)
    true
    (catch Exception e
      false)))

(def cli-options
  "The command-line options supported by Afterglow."
  [["-w" "--web-port PORT" "Port number for web UI"
