Ask for confirmation before deleting local db backups
This commit is contained in:
@@ -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*'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user