Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Closed
Description
Currently the OutputFormatter of the Console command nicely colors the output when used on cli.
Some of the command I've created are executed via a backend setup module, the output is returned to the controller using aStreamOutput
$application = new Application($this->get('kernel')); $application->setAutoExit(false); $fp = tmpfile(); $output = new StreamOutput($fp, StreamOutput::VERBOSITY_NORMAL, <new HtmlFormatter()>); $application->run(new ArrayInput($options), $output);
Feature: a new OutputFormatterStyle to format the output according with html colors / bold / etc
This could be part of the DX-initiative (?)
Metadata
Metadata
Assignees
Labels
No labels