mirror of
https://github.com/friendica/friendica
synced 2025-05-11 12:24:10 +02:00
Add cons
This commit is contained in:
parent
127e522ed8
commit
c4f15706ee
2 changed files with 14 additions and 2 deletions
|
@ -16,6 +16,17 @@ use Friendica\Core\Logger\Capability\LogChannel;
|
|||
*/
|
||||
class Console extends \Asika\SimpleConsole\Console
|
||||
{
|
||||
/** @var string The default executable for a console call */
|
||||
private const CONSOLE_EXECUTABLE = 'bin/console.php';
|
||||
|
||||
/**
|
||||
* @return string The default executable for a console call
|
||||
*/
|
||||
public static function getDefaultExecutable(): string
|
||||
{
|
||||
return self::CONSOLE_EXECUTABLE;
|
||||
}
|
||||
|
||||
// Disables the default help handling
|
||||
protected $helpOptions = [];
|
||||
protected array $customHelpOptions = ['h', 'help', '?'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue