Closed (fixed)
Project:
Clean Taxonomy
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Jul 2018 at 04:30 UTC
Updated:
8 Aug 2018 at 06:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
manish-31 commentedDrush command to replace terms are added.
Use following command to replace terms :
drush ct-replace old_taxonomy_term_name new_taxonomy_term_name.
Comment #3
gchauhan commentedCreate a command support for drush9 too.
Comment #4
manish-31 commentedIn patch #3 I've added command for drush 9. Please apply and review this patch.
Use following command to replace terms:
ct-replace old_term_name new_term_name
Note: If your term name contains two or more words wrap them with double quotes for eg:- ct-replace "old term" "new term".
Comment #5
anmolgoyal74 commentedCommand is working fine, but the logic doesn't seem working as required. The count after replacing terms is not correct also terms are not getting replaced.
Comment #6
anmolgoyal74 commented@manish-31
Please refer the related issue to update the patch.
Comment #7
manish-31 commented@anmolgoyal74 I've changed the logic to replace terms using drush command. Please apply and review this patch.
Use following command to replace terms:
drush ct-replace old_term_name new_term_name
Note: If your term name contains two or more words wrap them with double quotes for eg:- drush ct-replace "old term" "new term".
Comment #9
gaurav.kapoor commented