Read configration from files in a directory
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
README.md
Rakefile
configdir.gemspec

README.md

Configdir

A configdir is a directory-based configuration system where each configuration option is represented by the filename and the configuration value by the contents of the file. The files usually contain a single line which represents the value of the configuration item.

TODO

  • Support multi-valued configuration attributes
  • Perform error checking

Inspiration

DJB and DJB-inspired software.