mirioeggmann / cloudflare-ddns

Simple solution to create a personal DDNS service with your own domain
MIT License
17 stars 13 forks source link

Reorganize script logic for easier debugging #13

Closed alexander-bauer closed 1 year ago

alexander-bauer commented 1 year ago

Hey @mirioeggmann, thank you for publishing this project -- I use it in my home environment, and it's saved me a lot of trouble.

I updated today and didn't RTFM, and so didn't notice that I needed to adjust some of the variables I supply. I took a crack at adjusting the script to be a bit more verbose, and to fail at earlier stages if the variables it requires aren't supplied.

I realize this is a substantial reorganization of the whole core logic, but hopefully you find it to your liking.

Thanks again! Sasha

alexander-bauer commented 1 year ago

Some explanatory notes I neglected to include above:

mirioeggmann commented 1 year ago

Hey @alexander-bauer

Glad to hear that it is being used & thanks a lot for the contribution!🚀 I think these are definitely some reasonable changes. I will merge the PR and create a new release in the coming weeks.

Cheers Mirio