for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App\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;
use Yiisoft\Yii\Console\ExitCode;
#[AsCommand(name: 'hello', description: 'An example command', hidden: false)]
final class HelloCommand extends Command
{
protected function execute(InputInterface $input, OutputInterface $output): int
$output->writeln('Hello!');
return ExitCode::OK;
}