Skip to content

Use Ascii color codes to color console output

Asger Iversen requested to merge installCliColors into master
  • Use Ascii color codes to color console output instead of Console.ForgroundColor to support passing color info through stdout from the isolated subproccess that is created by e.g. tap package install
  • Added OPENTAP_COLOR environment variable to enable color globally. Valid values are always, auto and never, with auto meaning only when output is not redirected.
  • Build OpenTap.Cli.dll directly into bin/Debug/Package/OpenTAP folder (only in debug mode) to avoid two of these if you also install OpenTAP from a package.

Closes #544 (closed) and #543 (closed)

Edited by Asger Iversen

Merge request reports