summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-11-16 13:15:22 -0800
committerFrederic Guillot <fred@kanboard.net>2017-11-16 13:52:01 -0800
commit6f55acf1a6eb58c7eeed3233e70782d031814201 (patch)
tree49a2cef2913053979945a878dcec20516bf1ff72 /app/ServiceProvider
parent9f3486f7481ea5f7ecd9de724549c168072dd046 (diff)
Add command to display Kanboard version
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/CommandProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/ServiceProvider/CommandProvider.php b/app/ServiceProvider/CommandProvider.php
index f17ba352..b31162b8 100644
--- a/app/ServiceProvider/CommandProvider.php
+++ b/app/ServiceProvider/CommandProvider.php
@@ -20,6 +20,7 @@ use Kanboard\Console\TaskExportCommand;
use Kanboard\Console\TaskOverdueNotificationCommand;
use Kanboard\Console\TaskTriggerCommand;
use Kanboard\Console\TransitionExportCommand;
+use Kanboard\Console\VersionCommand;
use Kanboard\Console\WorkerCommand;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
@@ -61,6 +62,7 @@ class CommandProvider implements ServiceProviderInterface
$application->add(new PluginUninstallCommand($container));
$application->add(new DatabaseMigrationCommand($container));
$application->add(new DatabaseVersionCommand($container));
+ $application->add(new VersionCommand($container));
$container['cli'] = $application;
return $container;