Skip to content

Instantly share code, notes, and snippets.

@federivo
Last active March 22, 2017 03:16
Show Gist options
  • Save federivo/ed0601169b135bc78fa6595a47f186b2 to your computer and use it in GitHub Desktop.
Save federivo/ed0601169b135bc78fa6595a47f186b2 to your computer and use it in GitHub Desktop.
Gists for federivo.github.io/magento2/2016/02/19/commands-in-magento2.html
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Framework\Console\CommandList">
<arguments>
<argument name="commands" xsi:type="array">
<item name="exportCustomersCommand" xsi:type="object">Federivo\CustomerExport\Command\ExportCustomerCommand</item>
</argument>
</arguments>
</type>
</config>
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Federivo_CustomerExport" setup_version="0.0.1" />
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment