lambdamusic / Ontospy

Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.
http://lambdamusic.github.io/Ontospy/
MIT License
221 stars 52 forks source link

some subcommands always emit color hinting #77

Closed jonassmedegaard closed 3 years ago

jonassmedegaard commented 5 years ago

The command ontospy scan http://www.w3.org/2004/02/skos/core emits its output in color. Nice!

Not nice that this command does too: ontospy scan http://www.w3.org/2004/02/skos/core | less ...because less do not (in its default setup) parse console escape sequences.

Please make sure to (by default) emit terminal escape sequences only when connected to a TTY.

lambdamusic commented 3 years ago

Thanks for raising this. It'll be addressed in the upcoming version 1.9.9.1

lambdamusic commented 3 years ago

https://github.com/lambdamusic/Ontospy/releases/tag/v1.9.9.1