gmail-filter-builder/bin/generate-filters.php

15 lines
406 B
PHP
Raw Normal View History

2018-01-10 17:39:00 +00:00
<?php
2018-01-10 23:52:22 +00:00
use Opdavies\GmailFilterBuilder\Console\Command\GenerateCommand;
2018-01-10 17:39:00 +00:00
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');
2018-01-10 23:52:22 +00:00
$application->setDefaultCommand(GenerateCommand::NAME);
2018-01-10 17:39:00 +00:00
$application->run();