dentikhonov/magento-cli-entity-export

Import catalog via console command with entity

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

pkg:composer/dentikhonov/magento-cli-entity-export

dev-master 2020-08-20 18:22 UTC

This package is auto-updated.

Last update: 2025-10-21 06:02:57 UTC


README

A console command for importing catalog files.

Install

composer require dentikhonov/magento-cli-entity-export
php bin/magento module:enable DenTikhonov_CliImportCommand 
php bin/magento setup:upgrade

Usage

php bin/magento catalog:import [-i|--images_path[="..."]] [-b|--behavior[="..."]] [-b|--entity[="..."]] csv_file
  • --images_path: (default pub/media/catalog/product) must be a relative path starting from your Magento2 project root
  • --behavior: (default append) possible values: append, add_update, replace, delete
  • csv_file: could be a relative or an absolute path to a valid CSV file

Inspiration