#emergency addresses
[emergency<1>]
[emergency<3>]
[emergency<3>]
address=
wa...@fire.io#server ips
[servers<myserver>]
ip=10.10.10.1
[servers<anotherserver>]
ip=10.10.10.2
Of course, the real file is a bit more complex. I've thought that it's pretty cool to parse those settings using profiles when there were just the [emergency]-sections. But then I added the servers and saw, that my thoughts where wrong because I fetched the list of profiles to parse IPs using
getAllProfiles(), of course. Also of course, that didn't work anymore.
The question is: Can I get somehow a list of profiles that are connected to the name of a section? In this case, for example, getProfilesFor("servers") would return ["myserver","anotherserver"].