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.


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.


n98-magerun2.phar config:data:di --scope webapi_soap "Magento\Framework\App\FrontControllerInterface"



  • sys:cron:schedule ‘area code is not set’ exception. (by Pieter Hoste, #277)
  • Allow -1 as value for infinite max nesting level for xdebug (by Peter Jaap, #278)
  • Generate a shorter version of registration.php (by Alexander Turiak #280)

Released version 1.87.0

It’s the third release in 2014. The new release contains two new commands, some typo fixes and complete reworked bash completion script.

Bash Completion reworked

A often requested feature was a working bash completion script.
Thanks to Allard Hoeve from Byte Internet who created a new whole new bash completion
The new script can be found here:

  • #294, #300, #301 New bash completion script (by Allard Hoeve)