lundybernard / batconf

Application configuration tool from the BAT project
MIT License
2 stars 0 forks source link

Add INI file source #48

Open lundybernard opened 2 months ago

lundybernard commented 2 months ago

Add a new builtin source for .ini files.

Requirements:

  1. Conform to the batconf path/tree structure example config.ini file

    [root]
    opt1 = "string value"
    
    [root.module]
    opt2 = 'my path+key is root.module.opt2'
    
    [root.module.submodule.path]
    opt3 = 'more options'
  2. Use only stdlib modules, no 3rd party dependencies.
  3. Add an example .ini config file to tests/example/project