Skip to content

20centaurifux/confick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

confick

confick is a tiny library to load and cache configuration settings from an EDN file.

Installation

The library can be installed from Clojars using Leiningen:

Clojars Project

Example

(require '[confick.core :as cnf])

(cnf/bind [^:required addr [:tcp :address]
           ^{:default 80} port [:tcp :port]]
  (println (format "%s:%d" addr port)))

Use bind* to assign configuration values at compile-time.

About

Simple, stupid configuration management.

Resources

License

Stars

Watchers

Forks

Packages

No packages published