2018-03-18 13:26:51 -04:00
|
|
|
#!/usr/bin/env php
|
2018-03-18 05:12:39 -04:00
|
|
|
<?php
|
|
|
|
|
2019-08-05 03:02:55 -04:00
|
|
|
use Dice\Dice;
|
2019-09-17 10:47:00 -04:00
|
|
|
use Psr\Log\LoggerInterface;
|
2019-08-05 03:02:55 -04:00
|
|
|
|
2018-12-24 09:56:48 -05:00
|
|
|
require dirname(__DIR__) . '/vendor/autoload.php';
|
2018-03-18 05:12:39 -04:00
|
|
|
|
2019-08-05 03:02:55 -04:00
|
|
|
$dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config.php');
|
2019-09-17 10:47:00 -04:00
|
|
|
$dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['console']]);
|
2019-07-20 19:22:10 -04:00
|
|
|
|
2019-07-28 16:06:33 -04:00
|
|
|
(new Friendica\Core\Console($dice, $argv))->execute();
|