Skip to content

Conversation

jfcherng
Copy link
Owner

@jfcherng jfcherng commented Apr 6, 2020

With the new renderer option cliColorization

$rendererOptions = [
    // this option is currently only for the Unified and the Context renderers.
    // RendererConstant::CLI_COLOR_AUTO = colorize the output if possible (default)
    // RendererConstant::CLI_COLOR_ENABLE = force to colorize the output
    // RendererConstant::CLI_COLOR_DISABLE = force not to colorize the output
    'cliColorization' => RendererConstant::CLI_COLOR_AUTO,
];

Rendered Results (in CLI)

2020-04-06_21-02-17

References

jfcherng added 2 commits April 6, 2020 19:58
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
@jfcherng jfcherng added the enhancement New feature or request label Apr 6, 2020
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
@jfcherng jfcherng force-pushed the feat-console-color branch from 342d709 to 857f4b0 Compare April 6, 2020 12:10
@jfcherng jfcherng merged commit 65589f7 into v6 Apr 6, 2020
@jfcherng jfcherng deleted the feat-console-color branch April 6, 2020 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: support console color for Unified and Context renderers
1 participant