Tired of running bin/magento setup:upgrade everytime you write a new data patch?

Tired of running bin/magento setup:upgrade everytime you write a new data patch?
Even more tired of forgetting to add that one condition to your data patch and now you need to re-run the patch again so you’ll need to delete the patch from the patch_list table and run setup upgrade again?! In dev server, staging, AND pre-production?!!? (Don’t look at me like that….We all did it at least once 😉)
I know I am. Hence I made this nifty little module to manage your patches
This magento extension provides a set of bin/magento CLI commands to maintain data patches
1. bin/magento j:patch:apply – Apply patches by module name(s) or class name(s)
2. bin/magento j:patch:delete – Delete patches by its class name(s)
It is available over composer as well so feel free to install it and let me know if it helps 🙂

​

https://github.com/jayankaghosh/patch-manager

submitted by /u/insaneguitarist47
[link] [comments]