loading-cli
loading-cli copied to clipboard
colors are not maintained (and no option to force them) when used in a pipe
I added this library to a command I wrote in node and it works great.
I added support for piping my command to one another. All colors set by me using libraries like chalk, colors or colorette are working regardless of if the command is in a pipe or not. loader specifically doesn't show the correct colors if the output is not a TTY
command run gs-cli generate company
shows:
command run gs-cli generate company | echo
shows:
is there a way to force colors? if not, maybe it will be nice to have an option like that