Tip: Use aliases to quick reference Magento XML config

Magento’s merged XML config is very huge but not all parts must be referenced during development. Some parts are really important for debugging.
To do this smart n98-magerun offers the “config:dump” command which prints all the merged XML config at once.
As second parameter you can add an XQuery like argument.

Example:

Output:

This is very useful to find registered consollers.

If you use it often it’s not practical to enter the complete XML path each time.
For this we have “aliases”.
You can register an alias in your user config.

This registrates two aliases. The first is a shortcut for the cache clear command. The second one is for our previous example.
Now you can list the config part with this simple call:

I hope you like that handy feature!