2013-09-13 20:10:04 +04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
|
|
|
|
2013-10-17 14:51:30 +04:00
|
|
|
/** @var $application Symfony\Component\Console\Application */
|
2013-09-13 20:10:04 +04:00
|
|
|
$application->add(new OC\Core\Command\Status);
|
2013-10-17 14:51:30 +04:00
|
|
|
$application->add(new OC\Core\Command\Db\GenerateChangeScript());
|
2014-03-31 22:00:44 +04:00
|
|
|
$application->add(new OC\Core\Command\Db\ConvertType(OC_Config::getObject(), new \OC\DB\ConnectionFactory()));
|
2013-10-24 21:59:39 +04:00
|
|
|
$application->add(new OC\Core\Command\Upgrade());
|
2013-11-25 18:27:05 +04:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\SingleUser());
|
2013-11-25 16:20:16 +04:00
|
|
|
$application->add(new OC\Core\Command\App\Disable());
|
|
|
|
$application->add(new OC\Core\Command\App\Enable());
|
2013-11-25 20:34:16 +04:00
|
|
|
$application->add(new OC\Core\Command\App\ListApps());
|
2013-11-26 17:12:48 +04:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\Repair(new \OC\Repair()));
|
2014-01-08 02:06:37 +04:00
|
|
|
$application->add(new OC\Core\Command\User\Report());
|