Magento Themes and Magento Extensions

Clearing the cache with Magento Command Line

Posted on January 2nd, 2013 | Posted by admin

The task basis is pretty simple, you just need to extend MageUC_Console_Task and to add a execute().

To display the help, you need to add a task name, a description.

If needed you can add some arguments. There is two kind of argument some required witch will be checked by the validate method and some optional.

Arguments are defined as an array. Each keys are the arguments names and will be used by the getArgument() method, each values are the arguments descriptions and will be used by the printHelp() method.
How Magento clear its cache

Page 5 of 5«12345