diff --git a/src/Command/TestCommand.php b/src/Command/TestCommand.php index aee7b6921e536bdd6283c0bfff8ad4a4dba986b6..61b7bf82ed60cd0d302c8120f8ef63a488ebc2ba 100644 --- a/src/Command/TestCommand.php +++ b/src/Command/TestCommand.php @@ -11,6 +11,8 @@ use Symfony\Component\Console\Output\OutputInterface; class TestCommand extends Command { + protected static $defaultName = 'dbp:my-custom-command'; + public function __construct() { parent::__construct(); @@ -25,7 +27,7 @@ class TestCommand extends Command protected function execute(InputInterface $input, OutputInterface $output) { $argument = $input->getArgument('argument'); - $output->write($argument); + $output->writeln($argument); return 0; }