Added possibility to import categories and footprints

This commit is contained in:
Jan Böhmer 2023-03-24 22:41:33 +01:00
parent fce32e70b9
commit 34aefd32e8
2 changed files with 145 additions and 1 deletions

View file

@ -91,6 +91,14 @@ class ImportPartKeeprCommand extends Command
$io->info('Importing manufacturers...');
$count = $this->importer->importManufacturers($data);
$io->success('Imported '.$count.' manufacturers.');
$io->info('Importing categories...');
$count = $this->importer->importCategories($data);
$io->success('Imported '.$count.' categories.');
$io->info('Importing Footprints...');
$count = $this->importer->importFootprints($data);
$io->success('Imported '.$count.' footprints.');
}
}