Ask for confirmation before deleting local db backups

This commit is contained in:
Claudio Ortolina
2025-03-23 18:23:08 +00:00
parent 16f8baee80
commit 32ca77e0f5
+1
View File
@@ -82,6 +82,7 @@ description = 'Backup the production database to the local development env'
run = 'mix music_library.prod.db_backup'
[tasks.prod-prune-backups]
confirm = 'Are you sure you want to delete all downloaded database backups?'
description = 'Deletes all downloaded database backups'
run = 'rm data/music_library_prod*'