2014-10-22 19:59:09 +02:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
require __DIR__.'/app/common.php';
|
|
|
|
|
2014-12-22 19:15:38 +01:00
|
|
|
use Symfony\Component\Console\Application;
|
2015-01-16 14:23:05 +01:00
|
|
|
use Symfony\Component\EventDispatcher\Event;
|
|
|
|
|
|
|
|
$container['dispatcher']->dispatch('console.bootstrap', new Event);
|
2014-12-22 19:15:38 +01:00
|
|
|
|
|
|
|
$application = new Application('Kanboard', APP_VERSION);
|
|
|
|
$application->add(new Console\TaskOverdueNotification($container));
|
2015-01-16 14:23:05 +01:00
|
|
|
$application->add(new Console\SubtaskExport($container));
|
2014-12-22 19:15:38 +01:00
|
|
|
$application->add(new Console\TaskExport($container));
|
|
|
|
$application->add(new Console\ProjectDailySummaryCalculation($container));
|
|
|
|
$application->add(new Console\ProjectDailySummaryExport($container));
|
|
|
|
$application->run();
|