X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole.php;h=d1374a1b8fab1b71ebe944b85783188e23194051;hb=1701ea2034feb1cb8b7cce8455ff8e3c1f8875c6;hp=f43b89e9e67cc1832090d00ad10598a6b40e5bcf;hpb=1414d43597b89817acc76787b502eaeb58e4876d;p=friendica.git diff --git a/src/Core/Console.php b/src/Core/Console.php index f43b89e9e6..d1374a1b8f 100644 --- a/src/Core/Console.php +++ b/src/Core/Console.php @@ -1,6 +1,6 @@ [] [-v] Commands: + addon Addon management cache Manage node cache config Edit site config + contact Contact management createdoxygen Generate Doxygen headers dbstructure Do database updates docbloxerrorchecker Check the file tree for DocBlox errors @@ -74,8 +76,10 @@ HELP; } protected $subConsoles = [ + 'addon' => Friendica\Console\Addon::class, 'cache' => Friendica\Console\Cache::class, 'config' => Friendica\Console\Config::class, + 'contact' => Friendica\Console\Contact::class, 'createdoxygen' => Friendica\Console\CreateDoxygen::class, 'docbloxerrorchecker' => Friendica\Console\DocBloxErrorChecker::class, 'dbstructure' => Friendica\Console\DatabaseStructure::class, @@ -168,6 +172,8 @@ HELP; Friendica\DI::init($this->dice); + Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine'); + /** @var Console $subconsole */ $subconsole = $this->dice->create($className, [$subargs]);