Skip to content

Commit 525dead

Browse files
Chris53897wouterj
authored andcommitted
Update calling_commands.rst - call the command non interactively
symfony/symfony#51339
1 parent fdd5743 commit 525dead

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

console/calling_commands.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ method)::
3636
'--yell' => true,
3737
]);
3838

39+
// disable interactive behavior for the greet command
40+
$greetInput->setInteractive(false);
41+
3942
$returnCode = $this->getApplication()->doRun($greetInput, $output);
4043

4144
// ...

0 commit comments

Comments
 (0)