mirror of
https://github.com/mbierlee/mirage-config.git
synced 2024-11-14 20:34:00 +01:00
Move todo stuff to todo file
And add some reading material
This commit is contained in:
parent
b82b50a16f
commit
d71e6b8f6e
|
@ -15,14 +15,6 @@ Features:
|
||||||
- Internal configuration substitution (Value in config replaced by other path in config);
|
- Internal configuration substitution (Value in config replaced by other path in config);
|
||||||
- Parse configuration from string or JSONValue instead of from disk.
|
- Parse configuration from string or JSONValue instead of from disk.
|
||||||
|
|
||||||
TODO: add tutorial on:
|
|
||||||
|
|
||||||
- Config loading
|
|
||||||
- Config parsing
|
|
||||||
- Config manip
|
|
||||||
- Env and config var substitution
|
|
||||||
-- Escaping
|
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
### DUB Dependency
|
### DUB Dependency
|
||||||
See the [DUB project page](https://code.dlang.org/packages/mirage-config) for instructions on how to include Mirage Config into your project.
|
See the [DUB project page](https://code.dlang.org/packages/mirage-config) for instructions on how to include Mirage Config into your project.
|
||||||
|
|
12
TODO.md
Normal file
12
TODO.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# TODO
|
||||||
|
|
||||||
|
* Add tutorial
|
||||||
|
* Config loading
|
||||||
|
* Config parsing
|
||||||
|
* Config manip
|
||||||
|
* Env and config var substitution
|
||||||
|
* Escaping
|
||||||
|
* Java properties
|
||||||
|
* Add unicode escaping
|
||||||
|
* Support multi-line values with backslash
|
||||||
|
* Add escaping of key/value separator = and :
|
|
@ -18,6 +18,9 @@ import mirage.keyvalue : KeyValueConfigFactory, SupportHashtagComments, SupportS
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates configuration files from Java properties.
|
* Creates configuration files from Java properties.
|
||||||
|
*
|
||||||
|
* Format specifications:
|
||||||
|
* https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Properties.html#load(java.io.Reader)
|
||||||
*/
|
*/
|
||||||
class JavaPropertiesFactory : KeyValueConfigFactory!(
|
class JavaPropertiesFactory : KeyValueConfigFactory!(
|
||||||
SupportHashtagComments.yes,
|
SupportHashtagComments.yes,
|
||||||
|
|
Loading…
Reference in a new issue