X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole.php;h=9edc12b64c93b690646f75786589f52a16c0e136;hb=defc89fa9a21e1ddcfd01c33240fc26d53d02996;hp=a5aff4ae801faa786f50079117dfca59c583be77;hpb=1ab965c9440a32ab241c9f5e06bea1f7ebb202fd;p=friendica.git diff --git a/src/Core/Console.php b/src/Core/Console.php index a5aff4ae80..9edc12b64c 100644 --- a/src/Core/Console.php +++ b/src/Core/Console.php @@ -5,7 +5,7 @@ namespace Friendica\Core; /** * Description of Console * - * @author Hypolite Petovan + * @author Hypolite Petovan */ class Console extends \Asika\SimpleConsole\Console { @@ -14,6 +14,7 @@ class Console extends \Asika\SimpleConsole\Console protected $customHelpOptions = ['h', 'help', '?']; protected $subConsoles = [ + 'cache' => __NAMESPACE__ . '\Console\Cache', 'config' => __NAMESPACE__ . '\Console\Config', 'createdoxygen' => __NAMESPACE__ . '\Console\CreateDoxygen', 'docbloxerrorchecker' => __NAMESPACE__ . '\Console\DocBloxErrorChecker', @@ -28,6 +29,7 @@ class Console extends \Asika\SimpleConsole\Console 'php2po' => __NAMESPACE__ . '\Console\PhpToPo', 'po2php' => __NAMESPACE__ . '\Console\PoToPhp', 'typo' => __NAMESPACE__ . '\Console\Typo', + 'postupdate' => __NAMESPACE__ . '\Console\PostUpdate', ]; protected function getHelp() @@ -36,6 +38,7 @@ class Console extends \Asika\SimpleConsole\Console Usage: bin/console [--version] [-h|--help|-?] [] [-v] Commands: + cache Manage node cache config Edit site config createdoxygen Generate Doxygen headers dbstructure Do database updates @@ -51,6 +54,7 @@ Commands: php2po Generate a messages.po file from a strings.php file po2php Generate a strings.php file from a messages.po file typo Checks for parse errors in Friendica files + postupdate Execute pending post update scripts (can last days) Options: -h|--help|-? Show help information