Console script to ensure that all post updates are finished

This commit is contained in:
Michael 2018-08-10 21:20:25 +00:00
parent 6b14a2623a
commit 5037f9c460
3 changed files with 51 additions and 5 deletions

View file

@ -28,6 +28,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()
@ -51,6 +52,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