X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole.php;h=d1374a1b8fab1b71ebe944b85783188e23194051;hb=1701ea2034feb1cb8b7cce8455ff8e3c1f8875c6;hp=e08ea7f422b39db7b5e6f719b5df3a30cee0706d;hpb=779099a491486333424717e0fecc7390fada24a2;p=friendica.git diff --git a/src/Core/Console.php b/src/Core/Console.php index e08ea7f422..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 @@ -64,6 +66,7 @@ Commands: postupdate Execute pending post update scripts (can last days) serverblock Manage blocked servers storage Manage storage backend + relay Manage ActivityPub relay servers Options: -h|--help|-? Show help information @@ -73,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, @@ -92,6 +97,8 @@ HELP; 'postupdate' => Friendica\Console\PostUpdate::class, 'serverblock' => Friendica\Console\ServerBlock::class, 'storage' => Friendica\Console\Storage::class, + 'relay' => Friendica\Console\Relay::class, + 'fixapdeliveryworkertaskparameters' => Friendica\Console\FixAPDeliveryWorkerTaskParameters::class, ]; /** @@ -165,6 +172,8 @@ HELP; Friendica\DI::init($this->dice); + Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine'); + /** @var Console $subconsole */ $subconsole = $this->dice->create($className, [$subargs]);