Released version 1.81.0

You don’t like Mondays? I hope this gives you a good start in the new week.
We published a new n98-magerun release and packed some nice features in it.

Script Features

The script command will be more powerful.
We changed the behavior of variables initalized with “?” for example ${foo}=?.
If you define a variable from outside n98-magerun will not prompt anymore. This give you the power
to write parameterized scripts.

Another new feature are variable “choices”.
You can now specify a list of values which can be selected.

Example:

This will show you a prompt where you can select between “a”, “b” and “c”.

Script Repository

If you run a script from script repository (script:repo:run command) you are now able to specify variables from outside.
The “–define” option is now available for this command.

Updated dependencies

We ship n98-magerun with the latest Symfony and Twig compontents.

db:dump command

  • Added an ‘–add-routines’ option to db:dump command. (by Pieter Hoste)

dev:symlinks

The dev:symlinks command will now show you the admin store in the list of stores to select if you don’t specify
any store code.

Bugfixes

  • script command: Fixed resolution of other variables
  • Fix flush to use Enterprise_PageCache_Model_Cache only for 1.11 and up (by Jay Becker)

Happy coding!