forked from grimen/python-config2
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNOTES
More file actions
24 lines (14 loc) · 621 Bytes
/
NOTES
File metadata and controls
24 lines (14 loc) · 621 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# IDEAS
- support `some_server_port=3000 python app.py` to `some.server.port` auto-mapping? would make `custom-environment-variables` overkill
Examples:
- `some_server_port=3000 python app.py`
- `SOME_SERVER_PORT=3000 python app.py`
- support optional simplistic schema for how ENV variables from command line should be casted (typing)
Examples:
in `config/schema.yml`:
```yaml
some:
server:
port: number
```
- `some_server_port=3000 python app.py` => `some.server.port == 3000` instead of `some.server.port == "3000"`