Update packages. Add docker support, move migration to command, add stocks as a new table.

This commit is contained in:
Krzysztof Płaczek
2024-10-12 09:08:32 +02:00
parent 8827daec5d
commit 39e0262036
12 changed files with 391 additions and 212 deletions

View File

@@ -2,7 +2,7 @@
include_once 'vendor/autoload.php';
use Krzysiej\RyobiCrawler\Command\Migrate;
use Krzysiej\RyobiCrawler\Command\ScrapeWebsite;
use Symfony\Component\Console\Application;
@@ -13,6 +13,7 @@ if (php_sapi_name() !== 'cli') {
exit;
}
$application = new Application('Ryobi website scraper application', '1.0.0');
$application = new Application('Ryobi website scraper application', '1.1.0');
$application->add(new ScrapeWebsite());
$application->add(new Migrate());
$application->run();