Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/twe4ked/hl

Highlight patterns.
https://github.com/twe4ked/hl

command-line rust unix

Last synced: 29 days ago
JSON representation

Highlight patterns.

Awesome Lists containing this project

README

        

# hl

![](https://raw.githubusercontent.com/twe4ked/hl/master/screenshot.png)

## Help

```
USAGE:
hl [OPTIONS]

FLAGS:
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
--black Highlight PATTERN in black
-b, --blue Highlight PATTERN in blue
-c, --cyan Highlight PATTERN in cyan
--dark-blue Highlight PATTERN in dark-blue
--dark-cyan Highlight PATTERN in dark-cyan
--dark-green Highlight PATTERN in dark-green
--dark-grey Highlight PATTERN in dark-grey
--dark-magenta Highlight PATTERN in dark-magenta
--dark-red Highlight PATTERN in dark-red
--dark-yellow Highlight PATTERN in dark-yellow
-g, --green Highlight PATTERN in green
--grey Highlight PATTERN in grey
-m, --magenta Highlight PATTERN in magenta
-r, --red Highlight PATTERN in red
-w, --white Highlight PATTERN in white
-y, --yellow Highlight PATTERN in yellow
```

## Example:

```
$ cargo install hl
$ hl --red foo\ bar\ baz --blue ba --green bar < fixtures/example.txt
```