Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
The parameter extendedCategories now is set to true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pkarw committed Jan 17, 2019
1 parent fb6bfd5 commit 709094c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ program
.command('categories')
.option('--adapter <adapter>', 'name of the adapter', 'magento')
.option('--removeNonExistent <removeNonExistent>', 'remove non existent products', false)
.option('--extendedCategories <extendedCategories>', 'extended categories import', false)
.option('--extendedCategories <extendedCategories>', 'extended categories import', true)
.option('--generateUniqueUrlKeys <generateUniqueUrlKeys>', 'make sure that category url keys are uniqe', true)
.action(async (cmd) => {
await reindexCategories(cmd.adapter, cmd.removeNonExistent, cmd.extendedCategories, cmd.generateUniqueUrlKeys);
Expand All @@ -364,7 +364,7 @@ program
.option('--partitionSize <partitionSize>', 'size of the partitions', 50)
.option('--initQueue <initQueue>', 'use the queue', true)
.option('--skus <skus>', 'comma delimited list of SKUs to fetch fresh informations from', '')
.option('--extendedCategories <extendedCategories>', 'extended categories import', false)
.option('--extendedCategories <extendedCategories>', 'extended categories import', true)
.option('--generateUniqueUrlKeys <generateUniqueUrlKeys>', 'generate unique url_keys', true)
.action((cmd) => {
fullReindex(cmd.adapter, true, cmd.partitions, cmd.partitionSize, cmd.initQueue, cmd.skus, cmd.extendedCategories, cmd.generateUniqueUrlKeys);
Expand Down

0 comments on commit 709094c

Please sign in to comment.