TechWiz-3 / who-unfollowed-me

😡 Python CLI tool that shows you who has unfollowed you on GitHub. PRs welcome!
GNU General Public License v3.0
11 stars 24 forks source link

Add config versioning to autoresolve breaking change #37

Closed Dinoosawruss closed 1 year ago

Dinoosawruss commented 1 year ago

Hi Happy to take and work on this issue

To fix the breaking change in #34 a version could be added to the config, if the version is missing the config could be renamed and the new default one can be created so that it doesn't lead to unexpected crashes.

Think its best to rename the config and then create the default rather than just overwriting it incase someone did have some configuration done that they can copy and paste across

It would just need to be a simple version=1 at the top that is then incremented whenever any changes to the config layout are made

TechWiz-3 commented 1 year ago

38