betterconf icon indicating copy to clipboard operation
betterconf copied to clipboard

Add more providers

Open RMuskovets opened this issue 5 years ago • 2 comments

I moved AbstractProvider and EnvironmentProvider to providers.py. Also I added two more providers:

  • INIProvider that reads from a set section in 1+ INI files,
  • and TOMLProvider that reads the variables from 1+ TOML files.

TOMLProvider has a external dependency from PyPI: toml which I added to pyproject.toml.

RMuskovets avatar Oct 31 '20 07:10 RMuskovets

Oh, and also, feel free to squash those commits.

RMuskovets avatar Oct 31 '20 07:10 RMuskovets

I also think you should write some tests for new functionality

jieggii avatar Nov 05 '20 10:11 jieggii