jfern01 / module-importcli
A console command for importing catalog files. Based on cedricblondeau/magento2-module-catalog-import-command.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/module-import-export: 100.*
This package is auto-updated.
Last update: 2024-05-04 11:14:04 UTC
README
A console command for importing catalog files. Based on cedricblondeau/magento2-module-catalog-import-command.
##Installation
composer require jfern01/module-importcli
php bin/magento module:enable Jfern01_ImportCli
php bin/magento setup:upgrade
##Usage
bin/magento catalog:product:import --help
Description:
Import catalog
Usage:
catalog:product:import [options] [--] <filename>
Arguments:
filename CSV file path
Options:
-b, --behavior[=BEHAVIOR] Behavior [default: "append"]
--field_separator[=FIELD_SEPARATOR] Field separator (delimiter) [default: ","]
--multi_value_separator[=MULTI_VALUE_SEPARATOR] Muliple field separator [default: ","]
-f, --fields_enclosure Fields Enclosure
--validate Validate data only (no import)
-i, --images_path[=IMAGES_PATH] Images path [default: "pub/media/catalog/product"]
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug