summaryrefslogtreecommitdiff
path: root/kanboard
diff options
context:
space:
mode:
authorImbasaur <yarrusg@gmail.com>2016-04-13 17:05:59 +0200
committerImbasaur <yarrusg@gmail.com>2016-04-13 17:05:59 +0200
commit99f275e5bb033cca33eee87b0e914645730f13d1 (patch)
treead845419d56304f2bf014744f0878186f7155a3c /kanboard
parent13d5bd8e48bd6c0109d1272da58a8879bf9a6737 (diff)
parentcd5bf9d4d214ec9282b706c26bb27cabf150ee63 (diff)
Merge pull request #1 from fguillot/master
Diffstat (limited to 'kanboard')
-rwxr-xr-xkanboard44
1 files changed, 24 insertions, 20 deletions
diff --git a/kanboard b/kanboard
index 5046181d..6a51c937 100755
--- a/kanboard
+++ b/kanboard
@@ -3,30 +3,34 @@
require __DIR__.'/app/common.php';
+use Kanboard\Console\ResetPasswordCommand;
+use Kanboard\Console\ResetTwoFactorCommand;
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;
+use Kanboard\Console\TaskOverdueNotificationCommand;
+use Kanboard\Console\SubtaskExportCommand;
+use Kanboard\Console\TaskExportCommand;
+use Kanboard\Console\ProjectDailyStatsCalculationCommand;
+use Kanboard\Console\ProjectDailyColumnStatsExportCommand;
+use Kanboard\Console\TransitionExportCommand;
+use Kanboard\Console\LocaleSyncCommand;
+use Kanboard\Console\LocaleComparatorCommand;
+use Kanboard\Console\TaskTriggerCommand;
+use Kanboard\Console\CronjobCommand;
$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->add(new TaskOverdueNotificationCommand($container));
+$application->add(new SubtaskExportCommand($container));
+$application->add(new TaskExportCommand($container));
+$application->add(new ProjectDailyStatsCalculationCommand($container));
+$application->add(new ProjectDailyColumnStatsExportCommand($container));
+$application->add(new TransitionExportCommand($container));
+$application->add(new LocaleSyncCommand($container));
+$application->add(new LocaleComparatorCommand($container));
+$application->add(new TaskTriggerCommand($container));
+$application->add(new CronjobCommand($container));
+$application->add(new ResetPasswordCommand($container));
+$application->add(new ResetTwoFactorCommand($container));
$application->run();