fbrnc / magerun-commands

n98-magerun custom commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magerun Custom Commands

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.

About

n98-magerun custom commands


Languages

Language:PHP 100.0%