summaryrefslogtreecommitdiff
path: root/kanboard
blob: 5046181d1b3e5270c30e80902b37debfee2a7716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env php
<?php

require __DIR__.'/app/common.php';

use Symfony\Component\Console\Application;
use Symfony\Component\EventDispatcher\Event;
use Kanboard\Console\TaskOverdueNotification;
use Kanboard\Console\SubtaskExport;
use Kanboard\Console\TaskExport;
use Kanboard\Console\ProjectDailyStatsCalculation;
use Kanboard\Console\ProjectDailyColumnStatsExport;
use Kanboard\Console\TransitionExport;
use Kanboard\Console\LocaleSync;
use Kanboard\Console\LocaleComparator;
use Kanboard\Console\TaskTrigger;
use Kanboard\Console\Cronjob;

$container['dispatcher']->dispatch('app.bootstrap', new Event);

$application = new Application('Kanboard', APP_VERSION);
$application->add(new TaskOverdueNotification($container));
$application->add(new SubtaskExport($container));
$application->add(new TaskExport($container));
$application->add(new ProjectDailyStatsCalculation($container));
$application->add(new ProjectDailyColumnStatsExport($container));
$application->add(new TransitionExport($container));
$application->add(new LocaleSync($container));
$application->add(new LocaleComparator($container));
$application->add(new TaskTrigger($container));
$application->add(new Cronjob($container));
$application->run();