A Clojure library for managing environment variable configuration
mental-health
cleanliness
Stephen Starkey, ACC 5cb745023e Updated docs 2 days ago
bin Generated environment variable documentation 11 months ago
docs Updated docs 2 days ago
spec/defenv More robust displays 2 days ago
src/defenv More robust displays 2 days ago
.env Sort the vars in the usage string. 1 year ago
.gitignore Port from fossil 11 months ago
LICENSE First version 1 year ago
README.md More robust displays 2 days ago
defenv.css Generated environment variable documentation 11 months ago
project.clj More robust displays 2 days ago

README.md

defenv

A Clojure library designed to make working with environment variables easier.

Prerequisites

You’ll need Java 8 and Leiningen.

Usage

The project documentation contains example usage.

Also, you could try running DEFENV_TESTING=bob lein usage

Questions I imagined you might ask

Why can't I load property files and declare multiple
environments in my `project.clj` and stuff?

This library was designed for https://12factor.net/ apps

Why can't I load arbitrary Clojure expressions?

That’s not very safe. Write a custom parsing function instead.

License

Copyright © 2019 Stephen Starkey

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.