Closed maurelian closed 5 years ago
This would be a useful option because the colored encoding messes up the appearance of the output when surya describe
is piped into plaintext using >
This doesn't seem urgent. Maybe set a milestone for after the refactoring of the codebase?
Yeah, super low pri.
You can get rid of the coloring by piping Surya's output through sed
, like so:
surya describe somefiles.sol | sed -r "s/[[:cntrl:]]\[[0-9]{1,3}m//g"
This is addressed now with a --no-color
flag in the CLI, and a parameter in all the modules exported that use color. 🎉
This would simplify copying and sharing output. Eslint uses
--no-color
for this.