You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to add a custom command to padawan.php plugin. As far as I can tell this is currently not possible.
Can we add something like special route, where we can pass plugin action?
I was thinking about a command that will dispatch event, which can be handled by the plugin.
What do you think? I'm happy to write a patch if you think that's a good idea.
The text was updated successfully, but these errors were encountered:
pbogut
changed the title
Plugin specific commands to plugins
Plugin specific command
Feb 24, 2016
Ok, so I'm going back to my Magento plugin. Magento is using XML for many things including defining classes generated by a factory method. When XML file is changing it should be reloaded by the plugin. With custom plugin command it should be easy enough to trigger this action (manually, or by an auto command in vim on a buffer save).
Hopefully, that makes sense.
The problem I see right now is structure and API of padawan, that's going to change soon(hope in March I'll have enough time). So, I'm afraid your plugin/change will be incompatible with the next padawan version. Of course, if you do it, I'll try to help in migration and so.
Saying honestly I'm not even sure whether I'll break this thing
I would like to be able to add a custom command to padawan.php plugin. As far as I can tell this is currently not possible.
Can we add something like special route, where we can pass plugin action?
I was thinking about a command that will dispatch event, which can be handled by the plugin.
What do you think? I'm happy to write a patch if you think that's a good idea.
The text was updated successfully, but these errors were encountered: