File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ Imagine you want to run the ``debug:twig`` from inside your controller::
42
42
'fooArgument' => 'barValue',
43
43
// (optional) pass options to the command
44
44
'--bar' => 'fooValue',
45
+ // (optional) pass options without value
46
+ '--baz' => true,
45
47
]);
46
48
47
49
// You can use NullOutput() if you don't need the output
@@ -59,9 +61,10 @@ Imagine you want to run the ``debug:twig`` from inside your controller::
59
61
Showing Colorized Command Output
60
62
--------------------------------
61
63
62
- By telling the ``BufferedOutput `` it is decorated via the second parameter,
63
- it will return the Ansi color-coded content. The `SensioLabs AnsiToHtml converter `_
64
- can be used to convert this to colorful HTML.
64
+ By telling the :class: `Symfony\\ Component\\ Console\\ Output\\ BufferedOutput `
65
+ it is decorated via the second parameter, it will return the Ansi color-coded
66
+ content. The `SensioLabs AnsiToHtml converter `_ can be used to convert this to
67
+ colorful HTML.
65
68
66
69
First, require the package:
67
70
You can’t perform that action at this time.
0 commit comments