summaryrefslogtreecommitdiff
path: root/kanboard
blob: 2911a5060632a5432260cbbbb68505a8b841c873 (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
#!/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;

$container['dispatcher']->dispatch('console.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->run();