Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Console] OutputFormatterStyle for html colors #11392

Closed
@rvanlaak

Description

@rvanlaak

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp