This commit is contained in:
Philipp 2025-01-06 18:59:22 +01:00
parent 127e522ed8
commit c4f15706ee
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
2 changed files with 14 additions and 2 deletions

View file

@ -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', '?'];