2 stable releases
1.0.1 | Feb 15, 2020 |
---|
#9 in #improve
285KB
84 lines
Reglx Highlighter (rehl)
Add highlighting to stdin for easier to read compiler output, or more readable log files.
Screenshots
Improve compiler output readability
Or get a better overview of log files
Installation
rehl is written in rust and can be installed using cargo
cargo install rehl
Usage
The patterns to highlight are specified using colour flags followed by one or more regex patterns separated by spaces. Any text passed through stdin will have the colour applied to text matching those patterns.
# To errors and squiggly lines with red
> rehl -r Error: "\^~*"
# Also highlight warnings with yellow
> rehl -r Error: "\^~*" -y Warning:
See rehl --help
for more information
Dependencies
~7MB
~122K SLoC