Suggestion: move away from TOML?
TOML is not a very good option, since it doesn't allow you to source another files. If I want to config this and push it to my dots, I will be pushing token as well. I'd suggest switching to something else. Maybe even plain .conf.
Why would you need to source other files (not that i am saying toml is a good option) you can also have multiple toml files like i do in my project tome, but that can also feel clunky.
options:
- [ ] JSON, cant source files not human readable
- [ ] INI, very human readable, supported by configparser, but cant source files
- [ ] YAML, human readable, Indentation-sensitive though, but you can source files and it is not supported by configparser
- [ ] TOML, current filetype, human readable and supported by configparser but not able to source other files
- [ ] XML, verbose not human readable, does allow including files (using xinclude), not supported by config parser
- [ ] ENV, allows using enviorment variables as config? but very plain, does (sometimes) allow sourcing
I think yaml is the best option, except if indentation is a problem
@Zeviraty thanks for the extra inputs.
Haha, but now we need to choose 😅
@Zeviraty i need to look up and study why TOML is a bad option - ill skim over some content today
Or maybe why it isnt
lets just stick with TOML