balena-io / balena-cli

The official balena CLI tool.
Apache License 2.0
452 stars 138 forks source link

Flag to remove coloring from output #1172

Open mcamou opened 5 years ago

mcamou commented 5 years ago

For CI and automation purposes, we would like to be able to get the release commit and ID after a balena push from a script. In this case the output coloring makes parsing this data extremely inconvenient.

After looking at the sources we've seen that you use chalk for coloring. According to the chalk README, setting FORCE_COLOR=0 should disable coloring. That does not work. We have also tried setting TERM=dumb but that does not work either.

pdcastro commented 5 years ago

Related to issues:

jellyfish-bot commented 3 years ago

[hades32] This issue has attached support thread https://jel.ly.fish/c7e9a210-8237-4c3d-a434-06f7226f2bfb