color-capture

Allows you to pipe a script without having its color escape codes stripped

Unix pipes got you down? Stripping the color from your output? Run them with color-capture and their glorious escape codes will be preserved for the next tool in the chain.

Usage

USAGE: color-capture <command that produces color>
       Allows you to pipe a script without having its color escape codes stripped
       Example: capture the color of git log output
                and pipe that to oho
       color-capture git log --stat -n 4 | oho

Metadata:

Tags:

  • ansii
  • codes
  • color
  • escape