Add console executables

This commit is contained in:
Hypolite Petovan 2018-03-18 05:12:39 -04:00
parent 9b8fb1d550
commit dcf2ed26bb
3 changed files with 23 additions and 0 deletions

9
bin/console.php Normal file
View file

@ -0,0 +1,9 @@
#!/bin/env php
<?php
include_once dirname(__DIR__) . '/boot.php';
$a = new Friendica\App(dirname(__DIR__));
\Friendica\BaseObject::setApp($a);
(new Friendica\Core\Console())->execute();