A command-line interface for prestashop CMS
Command for prestashop, which can clean the cache, add hook, change domain and attaching modules on hooks.
- Download latest version from git
git clone https://github.com/Myrkotyn/ps_CLI.git
- Move
Dispatcher.phpto folder with overriding classes
mv Dispatcher.php Your-Project/override/classes/
- Move
CrudController.phpto folder with overriding controllers of admin
mv CrudController.php Your-Project/override/controllers/admin/
- Move
console.phpto the root of the project
mv console.php Your-Project/
- Then you can use the command from terminal
php console.php ?
- Dont forget to delete
class_index.phpfile inYou-Project/cache