We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8119fe9 + e049323 commit 6a63100Copy full SHA for 6a63100
src/Command/DemoCommand.php
@@ -4,10 +4,15 @@
4
5
namespace Dot\Cli\Command;
6
7
+use Symfony\Component\Console\Attribute\AsCommand;
8
use Symfony\Component\Console\Command\Command;
9
use Symfony\Component\Console\Input\InputInterface;
10
use Symfony\Component\Console\Output\OutputInterface;
11
12
+#[AsCommand(
13
+ name: 'demo:command',
14
+ description: 'Demo command description.',
15
+)]
16
class DemoCommand extends Command
17
{
18
/** @var string $defaultName */
0 commit comments