civicrm/cv

Uninstall command doesn't delete folder

Opened this issue · 2 comments

We tried to automate some operations and seem to have understood that the 'cv ext:uninstall' command doesn't fully delete the extension and keeps the folder in the /ext folder.
As far as I understood, the 'cv ext:disable' disables/deactivates an extension and the 'cv ext:uninstall' removes it from the the data base and cleans its datas, but I don't understand why it also doesn't delete the folder. It creates an intermediate status for an extension to be 'suppressed' but not 'deleted'.
I think it would be useful that it really deletes the extension like on the CMS.

It used to a long time ago but what happened was devs would lose a couple hours work by accident. See also https://issues.civicrm.org/jira/browse/CRM-12036

But maybe there could be an extra option like --delete

ok I understand better now the dev point of view, but on the admin sys point of view, suppress is suppress so a --delete option would be useful. How to add it?