gmail-filter-builder/bin/generate-filters.php
2018-01-10 23:59:58 +00:00

15 lines
406 B
PHP

<?php
use Opdavies\GmailFilterBuilder\Console\Command\GenerateCommand;
use Opdavies\GmailFilterBuilder\Container\Container;
use Symfony\Component\Console\Application;
require_once __DIR__.'/../vendor/autoload.php';
$container = new Container();
/** @var Application $application */
$application = $container->get('app.cli');
$application->setDefaultCommand(GenerateCommand::NAME);
$application->run();