mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 21:34:53 +08:00
25 lines
438 B
PHP
25 lines
438 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace SPC\command\dev;
|
||
|
|
|
||
|
|
use SPC\command\BaseCommand;
|
||
|
|
use SPC\store\Config;
|
||
|
|
use Symfony\Component\Console\Attribute\AsCommand;
|
||
|
|
|
||
|
|
#[AsCommand('dev:ext-all', 'Dev command')]
|
||
|
|
class AllExtCommand extends BaseCommand
|
||
|
|
{
|
||
|
|
public function configure()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
public function handle(): int
|
||
|
|
{
|
||
|
|
$this->output->writeln(implode(',', array_keys(Config::getExts())));
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
}
|