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.
|
|
|
|
*/
|
|
|
|
|
2014-06-10 13:47:27 +04:00
|
|
|
$repair = new \OC\Repair(\OC\Repair::getRepairSteps());
|
|
|
|
|
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()));
|
2014-09-22 14:04:48 +04:00
|
|
|
$application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig()));
|
2013-11-25 18:27:05 +04:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\SingleUser());
|
2014-05-29 00:26:13 +04:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\Mode(OC_Config::getObject()));
|
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());
|
2014-06-10 13:47:27 +04:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\Repair($repair, OC_Config::getObject()));
|
2014-01-08 02:06:37 +04:00
|
|
|
$application->add(new OC\Core\Command\User\Report());
|
2014-05-29 00:53:44 +04:00
|
|
|
$application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
|
2014-05-23 12:37:34 +04:00
|
|
|
$application->add(new OC\Core\Command\User\LastSeen());
|
2014-06-10 13:47:27 +04:00
|
|
|
|