2013-09-13 18:10:04 +02: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 11:47:27 +02:00
|
|
|
$repair = new \OC\Repair(\OC\Repair::getRepairSteps());
|
|
|
|
|
2013-10-17 12:51:30 +02:00
|
|
|
/** @var $application Symfony\Component\Console\Application */
|
2013-09-13 18:10:04 +02:00
|
|
|
$application->add(new OC\Core\Command\Status);
|
2013-10-17 12:51:30 +02:00
|
|
|
$application->add(new OC\Core\Command\Db\GenerateChangeScript());
|
2014-11-19 00:25:26 +01:00
|
|
|
$application->add(new OC\Core\Command\Db\ConvertType(\OC::$server->getConfig(), new \OC\DB\ConnectionFactory()));
|
2014-09-22 12:04:48 +02:00
|
|
|
$application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig()));
|
2013-11-25 15:27:05 +01:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\SingleUser());
|
2014-11-19 00:25:26 +01:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\Mode(\OC::$server->getConfig()));
|
2013-11-25 13:20:16 +01:00
|
|
|
$application->add(new OC\Core\Command\App\Disable());
|
|
|
|
$application->add(new OC\Core\Command\App\Enable());
|
2013-11-25 17:34:16 +01:00
|
|
|
$application->add(new OC\Core\Command\App\ListApps());
|
2014-11-19 00:25:26 +01:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\Repair($repair, \OC::$server->getConfig()));
|
2014-01-07 23:06:37 +01:00
|
|
|
$application->add(new OC\Core\Command\User\Report());
|
2014-05-28 22:53:44 +02:00
|
|
|
$application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
|
2014-05-23 10:37:34 +02:00
|
|
|
$application->add(new OC\Core\Command\User\LastSeen());
|
2014-10-24 13:53:01 +02:00
|
|
|
$application->add(new OC\Core\Command\L10n\CreateJs());
|
2014-06-10 11:47:27 +02:00
|
|
|
|