We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c59235b commit 83d4616Copy full SHA for 83d4616
src/Commands/ImportTaxonomies.php
@@ -62,6 +62,10 @@ private function useDefaultRepositories()
62
63
private function importTaxonomies()
64
{
65
+ if (! $this->confirm('Do you want to import taxonomies?')) {
66
+ return;
67
+ }
68
+
69
$taxonomies = TaxonomyFacade::all();
70
71
$this->withProgressBar($taxonomies, function ($taxonomy) {
@@ -78,6 +82,10 @@ private function importTaxonomies()
78
82
79
83
private function importTerms()
80
84
85
+ if (! $this->confirm('Do you want to import terms?')) {
86
87
88
81
89
$terms = TermFacade::all();
90
// Grab unique parent terms.
91
$terms = $terms->map->term()->unique();
0 commit comments