MerginMaps / db-sync

A tool for two-way synchronization between Mergin Maps and a PostGIS database
https://merginmaps.com
MIT License
45 stars 20 forks source link

--force-init confirmation prior to execution #131

Closed Hackster93 closed 4 weeks ago

Hackster93 commented 11 months ago

It would be great if the --force-init command prompted the user to confirm the execution of the --force-init command prior to the script running. This would prevent accidental execution which deletes the existing schemas prior to running.

JanCaha commented 4 weeks ago

The fact that you need to specify the flag --force-init should be enough. Asking for confirmation would make things slightly more demanding for user and not really needed.