12 lines
367 B
Markdown
12 lines
367 B
Markdown
# Config
|
|
Describe the configuration you expect and let this lib parse it from env variables or files.
|
|
|
|
## File parsing
|
|
1. Add `__FILE` (note the **2** `_`) at the end of any variable name
|
|
2. Set a path to a file as a value
|
|
3. The parser will
|
|
1. Read the path
|
|
2. Read the file
|
|
3. Trim any leading or trailing whitespace
|
|
4. Use the value for the config
|