openwhisk-cli icon indicating copy to clipboard operation
openwhisk-cli copied to clipboard

no support for forcing pass-through of ANSI colors

Open starpit opened this issue 7 years ago • 0 comments

most CLIs offer a way to force ANSI color codes, even if the output is not a TTY (e.g. if piping to another process that actually understands ANSI color codes; e.g. less).

for examples:

git -c color.ui=always
IBMCLOUD_COLOR=true ibmcloud target

the package you are using to generate ANSI color codes also supports this (EnableColors).

starpit avatar Nov 17 '18 00:11 starpit