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