makinacorpus / DbToolsBundle

A PHP library to backup, restore and anonymize databases
https://dbtoolsbundle.readthedocs.io
MIT License
182 stars 15 forks source link

AnonymizeCommand - improve display output #92

Closed SimonMellerin closed 9 months ago

SimonMellerin commented 9 months ago

When db-tools:anonymize is launched in none-verbose mode, output takes too much space:

image

It needs to be compacted, something like this should be enough:

* Backuping local database ... ok
* Restoring given backup ... ok       
* Anonymizing database ... ok
* Restoring initial database ... ok

 [INFO] Backup file `path/.to/the/backup` as been anonymized!                                                                                          

May be actual output could be kept for verbose mode.