From 709094c9f1a08cd15431f1a1de795b981a345acb Mon Sep 17 00:00:00 2001 From: pkarw Date: Thu, 17 Jan 2019 10:24:58 +0100 Subject: [PATCH] The parameter `extendedCategories` now is set to `true` by default --- src/cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.js b/src/cli.js index d8e06ef..bce3ad1 100644 --- a/src/cli.js +++ b/src/cli.js @@ -342,7 +342,7 @@ program .command('categories') .option('--adapter ', 'name of the adapter', 'magento') .option('--removeNonExistent ', 'remove non existent products', false) - .option('--extendedCategories ', 'extended categories import', false) + .option('--extendedCategories ', 'extended categories import', true) .option('--generateUniqueUrlKeys ', 'make sure that category url keys are uniqe', true) .action(async (cmd) => { await reindexCategories(cmd.adapter, cmd.removeNonExistent, cmd.extendedCategories, cmd.generateUniqueUrlKeys); @@ -364,7 +364,7 @@ program .option('--partitionSize ', 'size of the partitions', 50) .option('--initQueue ', 'use the queue', true) .option('--skus ', 'comma delimited list of SKUs to fetch fresh informations from', '') - .option('--extendedCategories ', 'extended categories import', false) + .option('--extendedCategories ', 'extended categories import', true) .option('--generateUniqueUrlKeys ', 'generate unique url_keys', true) .action((cmd) => { fullReindex(cmd.adapter, true, cmd.partitions, cmd.partitionSize, cmd.initQueue, cmd.skus, cmd.extendedCategories, cmd.generateUniqueUrlKeys);