Skip to content

Conversation

masaru-iritani
Copy link
Contributor

What

  • Embed io.Writer in consoleWriter.
  • Extract the status color logic to consoleWriter.FormatAction method.
  • Use the method above to colorize the progress status.

Why

Closes #98

Colorizing the progress status makes it easier to find failures.

Tests

Passed test

pass

Failed test

fail

-nocolor option

nocolor

-markdown option

I suppose -markdown and -progress are not expected to be specified together, given that their outputs are mixed up.

markdown

@masaru-iritani masaru-iritani force-pushed the colorize-progress-status branch from db581b1 to 0ef7519 Compare September 17, 2025 00:05
@masaru-iritani masaru-iritani marked this pull request as ready for review September 17, 2025 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add color support for -progress output
1 participant