2022-09-25 18:43:32 +02:00
|
|
|
# Mirage Config
|
|
|
|
|
|
|
|
Version 0.0.0
|
|
|
|
Copyright 2022 Mike Bierlee
|
|
|
|
Licensed under the terms of the MIT license - See [LICENSE.txt](LICENSE.txt)
|
|
|
|
|
2022-09-25 18:49:15 +02:00
|
|
|
Toolkit for loading and using application configuration from various formats.
|
2022-09-25 18:43:32 +02:00
|
|
|
|
2022-09-29 00:31:22 +02:00
|
|
|
Features:
|
2022-10-08 22:46:34 +02:00
|
|
|
- Load from various file formats such as JSON and Java properties;
|
2022-09-29 00:31:22 +02:00
|
|
|
- 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.
|
2022-09-25 18:43:32 +02:00
|
|
|
|
|
|
|
This is a work in progress. More will follow. For now see `examples/` to learn how to use it.
|
2022-09-29 01:05:53 +02:00
|
|
|
|
|
|
|
TODO: add tutorial on:
|
|
|
|
- Config loading
|
|
|
|
- Config parsing
|
2022-10-06 23:55:31 +02:00
|
|
|
- Config manip
|
2022-09-29 01:05:53 +02:00
|
|
|
- Env and config var substitution
|
|
|
|
-- Escaping
|