17 lines
349 B
PHP
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!');
|
||
|
}
|
||
|
}
|