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-11-19 02:25:26 +03:00
|
|
|
$application->add(new OC\Core\Command\Db\ConvertType(\OC::$server->getConfig(), 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-11-19 02:25:26 +03:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\Mode(\OC::$server->getConfig()));
|
2015-01-29 00:08:50 +03:00
|
|
|
$application->add(new OC\Core\Command\App\CheckCode());
|
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-11-19 02:25:26 +03:00
|
|
|
$application->add(new OC\Core\Command\Maintenance\Repair($repair, \OC::$server->getConfig()));
|
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());
|
2015-01-07 14:21:28 +03:00
|
|
|
$application->add(new OC\Core\Command\User\Delete(\OC::$server->getUserManager()));
|
2014-10-24 15:53:01 +04:00
|
|
|
$application->add(new OC\Core\Command\L10n\CreateJs());
|
2014-06-10 13:47:27 +04:00
|
|
|
|