21 lines
576 B
PHP
21 lines
576 B
PHP
![]() |
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Loom\Spinner\Command;
|
||
|
|
||
|
use Symfony\Component\Console\Attribute\AsCommand;
|
||
|
use Symfony\Component\Console\Command\Command;
|
||
|
use Symfony\Component\Console\Input\InputInterface;
|
||
|
use Symfony\Component\Console\Output\OutputInterface;
|
||
|
|
||
|
#[AsCommand(name: 'spin', description: 'Spin up a new development environment')]
|
||
|
class SpinCommand extends AbstractSpinnerCommand
|
||
|
{
|
||
|
protected function execute(InputInterface $input, OutputInterface $output): int
|
||
|
{
|
||
|
$this->setStyle($input, $output);
|
||
|
|
||
|
return Command::SUCCESS;
|
||
|
}
|
||
|
}
|