new command interface

This commit is contained in:
Yuri Kuznetsov
2021-03-18 13:39:14 +02:00
parent 250ac0e8ba
commit 43df9d25f0
21 changed files with 682 additions and 225 deletions

View File

@@ -34,11 +34,4 @@ use Espo\Core\{
ApplicationRunners\Command,
};
ob_start();
$result = (new Application())->run(Command::class);
if (is_string($result)) {
ob_end_clean();
echo $result;
}
(new Application())->run(Command::class);