Our Magento Imagine gift: n98-magerun2 version 1.4.0 is out!
Like promised in a tweet we deployed the stable version of n98-magerun2 before the start of Magento Imagine 2017. The new release contains five new commands and some bugfixes.
Features
List EAV attributes
My colleague Jürgen Thelen ported two Magerun 1 commands to V2. One of it is “eav:attribute:list” which can give you a list of all your EAV attibutes.
n98-magerun2.phar eav:attribute:list
The output is a list of attributes which can filtered by entity type.
n98-magerun2.phar eav:attribute:list –add-source –add-backend –filter-type=customer
Clear your asset cache
The second command ported by Jürgen is to clear static assets.
n98-magerun2.phar dev:asset:clear
After the deletion you get a list of the affected files.
Print the merged XML config data
It’s now possible to see the ACL tree in correct order.
n98-magerun2.phar config:data:acl
The second config related command prints the “DI config”. It can be filtered by scope/area.
Example:
n98-magerun2.phar config:data:di --scope webapi_soap "Magento\Framework\App\FrontControllerInterface"
Output:
1 Comment
Francis Kim · May 8, 2017 at 05:56
Have been enjoying using n98-magerun for years now. Great stuff!