your-tools / tbump

Bump software releases
BSD 3-Clause "New" or "Revised" License
158 stars 22 forks source link

Abtract away config file #150

Closed plannigan closed 2 years ago

plannigan commented 2 years ago

This change reduces the number of classes that directory know about ConfigFile. This is another small step towards #143. The end goal is to have these classes work off a Config like dataclass that is distinct from the config file format and is the result of merging the settings specified in the config file and any given command line arguments. The data structures being introduced might not survive the whole process. But I find it easier these seams in smalls steps that can be cleaned up afterward if necessary.