Go to file
2022-10-07 00:51:17 +03:00
examples Grammar 2022-09-29 02:31:42 +03:00
source/mirage Add setter to easily assign values to path in config 2022-10-07 00:51:17 +03:00
testfiles Add env var substitution test for JSON 2022-09-28 23:54:38 +03:00
.gitignore Add JSON config example 2022-09-25 19:03:26 +03:00
dub.json Add config substitution example 2022-09-29 00:13:20 +03:00
dub.selections.json Rename project to detach it from Poodinis 2022-09-24 17:04:57 +03:00
LICENSE.txt Add project skeleton 2022-09-23 23:34:22 +03:00
makefile Add valueSubstitutionExample to all examples 2022-09-29 02:30:49 +03:00
README.md Add a todo to readme 2022-09-29 02:05:53 +03:00

Mirage Config

Version 0.0.0
Copyright 2022 Mike Bierlee
Licensed under the terms of the MIT license - See LICENSE.txt

Toolkit for loading and using application configuration from various formats.

Features:

  • Load from various file formats such as JSON;
  • Environment variable substitution;
  • Internal configuration substitution (Value in config replaced by other path in config);
  • Parse configuration from string or JSONValue instead of from disk.

This is a work in progress. More will follow. For now see examples/ to learn how to use it.

TODO: add tutorial on:

  • Config loading
  • Config parsing
  • Env and config var substitution -- Escaping