Skip to content
cmuench edited this page Jan 5, 2013 · 8 revisions

Command Aliases

The command alias feature was added with n98-magerun version 1.46.0

Add a new alias

Register new alias in your confguration (see Config).

Example:

commands:
  aliases:
     - "db:dump:time": "db:dump --add-time"
     - "ccc": "cache:clean config"

Register old deprecated aliases

Add this to your config (see Config).

commands:
   aliases:
     - cache:clear: cache:flush
     - db:console: db:console
     - database:dump: db:dump
     - database:info: db:info
     - system:modules:list: dev:module:list
     - system:cron:list: sys:cron:list
     - system:setup:compare-versions: sys:setup:compare-versions
     - sys:run-setup-scripts: sys:setup:run
     - system:run-setup-scripts: sys:setup:run
     - system:store:list: sys:store:list
     - system:url:list: sys:url:list
     - system:website:list: sys:website:list
     - system:check: sys:check
     - system:info: sys:info
     - system:maintenance: sys:maintenance
Clone this wiki locally