mirror of
https://github.com/friendica/friendica
synced 2024-11-11 07:02:53 +00:00
a60eb9e33d
- Use Friendica\Core\Console as Controller for DI-library - Refactor every console command to use DICE (when possible) - Adjusting tests
9 lines
241 B
PHP
Executable file
9 lines
241 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
require dirname(__DIR__) . '/vendor/autoload.php';
|
|
|
|
$dice = new \Dice\Dice();
|
|
$dice = $dice->addRules(include __DIR__ . '/../static/dependencies.config.php');
|
|
|
|
(new Friendica\Core\Console($dice, $argv))->execute();
|