Add console CLI command

- Fix App to be used in CLI mode
This commit is contained in:
Hypolite Petovan 2018-05-04 08:16:03 -04:00
commit 4da0d68bad
5 changed files with 136 additions and 7 deletions

6
bin/console.php Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env php
<?php
include_once dirname(__DIR__) . '/boot.php';
(new Friendica\Directory\Core\Console($argv))->execute();