|
|
|
@ -3,6 +3,7 @@
|
|
|
|
|
namespace jrosset\Tests\Commands;
|
|
|
|
|
|
|
|
|
|
use jrosset\CliProgram\BaseCommand;
|
|
|
|
|
use jrosset\CliProgram\Monolog\ConsoleOutputWithMonolog;
|
|
|
|
|
use Symfony\Component\Console\Command\Command;
|
|
|
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
|
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
@ -26,6 +27,7 @@ class Hello extends BaseCommand {
|
|
|
|
|
protected function execute (InputInterface $input, OutputInterface $output): int {
|
|
|
|
|
$output->writeln('Command : ' . __CLASS__, OutputInterface::VERBOSITY_DEBUG);
|
|
|
|
|
$output->writeln('Hello !');
|
|
|
|
|
$output->writeln('FIN', ConsoleOutputWithMonolog::OPTION_SKIP_MONOLOG);
|
|
|
|
|
return Command::SUCCESS;
|
|
|
|
|
}
|
|
|
|
|
}
|