degdigital/magerun-addons

There is no license information available for the latest version (dev-master) of this package.

Addon commands for N98 MageRun

dev-master 2015-03-02 03:37 UTC

This package is auto-updated.

Last update: 2024-03-27 11:54:42 UTC


README

Some additional commands for the excellent N98-MageRun Magento command-line tool.

The purpose of this project is just to have an easy way to deploy new, custom commands that we need for Magento development and automated testing.

Installation

There are a few options.

Here's the easiest:

  1. Create ~/.n98-magerun/modules/ if it doesn't already exist.

     mkdir -p ~/.n98-magerun/modules/
    
  2. Clone the magerun-commands repository in there

     cd ~/.n98-magerun/modules/
     git clone git@github.com:degdigital/magerun-commands.git
    

Commands

Export Dataset

This command will export a specific list of table(s).

$ n98-magerun db:export --tables="catalog_product_entity" --where-limit=100

It's intended to be used to export a partial dataset(catalog, customers, orders) for automated testing.