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.
1 parent 21f7699 commit 2ba853eCopy full SHA for 2ba853e
src/Command/MakerCommand.php
@@ -56,6 +56,11 @@ protected function configure(): void
56
protected function initialize(InputInterface $input, OutputInterface $output): void
57
{
58
$this->io = new ConsoleStyle($input, $output);
59
+
60
+ if (!$input->isInteractive()) {
61
+ $this->io->warning(\sprintf('"%s" is not meant to be run in non-interactive mode.', $this->getName()));
62
+ }
63
64
$this->fileManager->setIO($this->io);
65
66
if ($this->checkDependencies) {
0 commit comments