such.environment

env

(env key)

Select a keyword key from the environment. The result is a string. Throws an error if the environment lookup returns nil. See env-nil-ok.

Environment variables are handled as described in weavejester/environ:

 (env :home)          ; lowercased
 (env :database-url)  ; would match `DATABASE_URL`

Also see that documentation for where environment variables can be set.

env-nil-ok

(env-nil-ok key)

Select a keyword key from the environment, returning a string. The result may be nil.