jungaretti / bacon

Deploy your DNS records from YAML config files to Porkbun
GNU General Public License v3.0
12 stars 1 forks source link

Command to export existing records #23

Closed khromov closed 1 year ago

khromov commented 1 year ago

It would be extremely useful if Bacon could also export records into the YAML format, making it possible to migrate records between porkbun domains! 🐷

jungaretti commented 1 year ago

Good news! This already exists, but it isn't documented. The command is bacon print <domain> and here's the code: https://github.com/jungaretti/bacon/blob/main/cmd/print.go

I need to add its details to Bacon's README.md

khromov commented 1 year ago

Excellent, thank you!

jungaretti commented 1 year ago

Let's leave this open until I make a PR to update the docs!