jbroadway / elefant

Elefant, the refreshingly simple PHP CMS and web framework.
http://www.elefantcms.com
MIT License
209 stars 39 forks source link

Uninstall apps via ./elefant uninstall <appname> command #272

Open jbroadway opened 9 years ago

jbroadway commented 9 years ago

Apps should be able to be cleanly uninstalled via a simple command, for example:

./elefant uninstall <appname>

This would trigger the app's uninstall handler specified in its conf/config.php's [Admin] section, similar to the existing install and upgrade handlers.

A sample uninstall handler could also be added alongside the install and upgrade samples here.