Hot on the heels of pestle 1.1, I’ve just released the inevitable pestle 1.1.1. Pestle users should be able to
and be good to go.
Things in this release include
- An updated, and reorganized command list
magento2:generate:ui:add_to_layout, which adds a
uiComponentnode to a layout update XML file
magento2:generate:controller_edit_aclcommand, which changes an admin controller’s configuration ACL rule
magento2:generate:full_modulecommand, which generates a shell script that can generate a “full” module.
magento2:generate:full_module command it probably the most interesting for folks new to pestle. If you give this command a package name, module name, and model name, it generates the individual pestle commands needed to create the module
$ pestle.phar magento2:generate:full_module
This command output is a working bash script, which means you’re less than 15 seconds away from a working Magento 2 module with working admin forms.
$ pestle.phar magento2:generate:full_module > create-my-module.sh $ chmod +x ./create-my-module.sh $ ./create-my-module.sh
Too much reading? Here’s a screencast to show you how it works
If there’s something about pestle you don’t like, or you’d like to help out, head on over to GitHub and checkout the weekly-ish sprints. We’ll be trying to knock out between three to five issues a week to sand off the rough edges on pestle’s model generation, and bring pestle into line w/r/t being a well behaved CLI program.