UnderCurrent/app/Console/TestCommand.php
2023-08-16 16:04:35 +02:00

17 lines
349 B
PHP

<?php
namespace App\Console;
use Ardent\Undercurrent\Attribute\Command;
use Ardent\Undercurrent\Console\BaseCommand;
use Ardent\Undercurrent\Console\Output;
#[Command('app:test')]
class TestCommand extends BaseCommand
{
protected function run(Output $output): void
{
$output->printLine('Hello, command!');
}
}