]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console.php
Merge pull request #10446 from MrPetovan/bug/10439-addon-settings-forms
[friendica.git] / src / Core / Console.php
index f43b89e9e67cc1832090d00ad10598a6b40e5bcf..d1374a1b8fab1b71ebe944b85783188e23194051 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -44,8 +44,10 @@ class Console extends \Asika\SimpleConsole\Console
 Usage: bin/console [--version] [-h|--help|-?] <command> [<args>] [-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]);